Cargo Features
tokio-boring2 has no features set by default.
[dependencies]
tokio-boring2 = { version = "4.15.11", features = ["fips", "fips-no-compat", "fips-link-precompiled", "pq-experimental"] }
- fips
-
Use a FIPS-validated version of boringssl.
Enables fips of boring2 and boring-sys2
- fips-no-compat
-
Use a FIPS build of BoringSSL, but don't set "fips-compat".
As of boringSSL commit a430310d6563c0734ddafca7731570dfb683dc19, we no longer need to make exceptions for the types of BufLen, ProtosLen, and ValueLen,
which means the "fips-compat" feature is no longer needed.
TODO(cjpatton) Delete this feature and modify "fips" so that it doesn't imply "fips-compat".Enables fips-no-compat of boring2
- fips-link-precompiled
-
Link with precompiled FIPS-validated
bcm.o
module.Enables fips-link-precompiled of boring2 and boring-sys2
- pq-experimental
-
Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/)
Enables pq-experimental of boring2