[package] name = "boring2" version = { workspace = true } authors = ["Steven Fackler ", "Ivan Nikulin "] license = "Apache-2.0" description = "BoringSSL bindings" repository = { workspace = true } documentation = "https://docs.rs/boring2" readme = "README.md" keywords = ["crypto", "tls", "ssl", "dtls"] categories = ["cryptography", "api-bindings"] edition = { workspace = true } rust-version = "1.80" [package.metadata.docs.rs] features = ["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 = [] # Applies a patch to enable `ffi::X509_CHECK_FLAG_UNDERSCORE_WILDCARDS`. 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`. underscore-wildcards = ["boring-sys/underscore-wildcards"] # Add a prefix to all symbols in libcrypto and libssl to prevent conflicts # with other OpenSSL or BoringSSL versions that might be linked in the same process. prefix-symbols = ["boring-sys/prefix-symbols"] [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 }