Cargo Features

tokio-boring2 has no features set by default.

[dependencies]
tokio-boring2 = { version = "4.11.1", features = ["fips", "fips-link-precompiled", "pq-experimental", "rpk"] }
fips

Use a FIPS-validated version of boringssl.

Enables fips of boring2 and boring-sys2

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

rpk

Enables Raw public key API (https://datatracker.ietf.org/doc/html/rfc7250)

Enables rpk of boring2