Cargo Features
boring-sys2 has no features set by default.
[dependencies]
boring-sys2 = { version = "4.12.0", features = ["fips", "fips-link-precompiled", "rpk", "pq-experimental", "underscore-wildcards"] }
- fips
-
Use a FIPS-validated version of boringssl.
- fips-link-precompiled
-
Link with precompiled FIPS-validated
bcm.o
module. - rpk
-
Enables Raw public key API (https://datatracker.ietf.org/doc/html/rfc7250)
- pq-experimental
-
Applies a patch (
patches/boring-pq.patch
) to the boringSSL source code that enables support for PQ key exchange. This feature is necessary in order to compile the bindings for the default branch of boringSSL (deps/boringssl
). Alternatively, a version of boringSSL that implements the same feature set can be provided by settingBORING_BSSL{,_FIPS}_SOURCE_PATH
. - underscore-wildcards
-
Applies a patch (
patches/underscore-wildcards.patch
) to enableffi::X509_CHECK_FLAG_UNDERSCORE_WILDCARDS
. Same caveats as those forpq-experimental
feature apply.