Cargo Features
tokio-boring has no features set by default.
[dependencies]
tokio-boring = { version = "4.16.0", features = ["fips", "fips-precompiled", "fips-link-precompiled", "pq-experimental", "rpk"] }
- fips
-
Use a FIPS-validated version of boringssl.
Enables fips of boring and boring-sys
- fips-precompiled
-
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-precompiled of boring
- fips-link-precompiled
-
Link with precompiled FIPS-validated
bcm.o
module.Enables fips-link-precompiled of boring and boring-sys
- pq-experimental
-
Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/)
Enables pq-experimental of boring
- rpk
-
Enables Raw public key API (https://datatracker.ietf.org/doc/html/rfc7250)