[package] name = "boring" version = { workspace = true } authors = ["Steven Fackler ", "Ivan Nikulin "] license = "Apache-2.0" description = "BoringSSL bindings" repository = { workspace = true } documentation = "https://docs.rs/boring" readme = "README.md" keywords = ["crypto", "tls", "ssl", "dtls"] categories = ["cryptography", "api-bindings"] edition = { workspace = true } rust-version = "1.80" [package.metadata.docs.rs] features = ["rpk", "pq-experimental", "underscore-wildcards"] rustdoc-args = ["--cfg", "docsrs"] [features] # Controlling the build # Use a FIPS-validated version of BoringSSL. fips = ["boring-sys/fips"] # **DO NOT USE** This will be removed without warning in future releases. legacy-compat-deprecated = [] # Enables Raw public key API (https://datatracker.ietf.org/doc/html/rfc7250) # This feature is necessary in order to compile the bindings for the # default branch of boringSSL. Alternatively, a version of boringSSL that # implements the same feature set can be provided by setting # `BORING_BSSL{,_FIPS}_SOURCE_PATH` and `BORING_BSSL{,_FIPS}_ASSUME_PATCHED`. rpk = ["boring-sys/rpk"] # Applies a 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. Alternatively, a version of boringSSL that # implements the same feature set can be provided by setting # `BORING_BSSL{,_FIPS}_SOURCE_PATH` and `BORING_BSSL{,_FIPS}_ASSUME_PATCHED`. pq-experimental = ["boring-sys/pq-experimental"] # Applies a patch to enable # `ffi::X509_CHECK_FLAG_UNDERSCORE_WILDCARDS`. Same caveats as # those for `pq-experimental` feature apply. underscore-wildcards = ["boring-sys/underscore-wildcards"] [dependencies] bitflags = { workspace = true } foreign-types = { workspace = true } openssl-macros = { workspace = true } libc = { workspace = true } boring-sys = { workspace = true } [dev-dependencies] hex = { workspace = true } rusty-hook = { workspace = true } brotli = { workspace = true }