[package] name = "boring-sys2" version = { workspace = true } authors = ["Alex Crichton ", "Steven Fackler ", "Ivan Nikulin "] license = "MIT" description = "FFI bindings to BoringSSL" repository = { workspace = true } documentation = "https://docs.rs/boring-sys2" links = "boringssl" build = "build/main.rs" readme = "README.md" categories = ["cryptography", "external-ffi-bindings"] edition = { workspace = true } rust-version = "1.77" include = [ "/*.md", "/*.toml", "/LICENSE-MIT", "/cmake/*.cmake", "/deps/boringssl/**/*.[chS]", "/deps/boringssl/**/*.asm", "/deps/boringssl/sources.json", "/deps/boringssl/src/crypto/obj/obj_mac.num", "/deps/boringssl/src/crypto/obj/objects.txt", "/deps/boringssl/src/util/32-bit-toolchain.cmake", "/deps/boringssl/**/*.bzl", "/deps/boringssl/**/*.cc", "/deps/boringssl/**/CMakeLists.txt", "/deps/boringssl/**/sources.cmake", "/deps/boringssl/**/util/go_tests.txt", "/deps/boringssl/LICENSE", "/build/*", "/src", "/patches", ] [package.metadata.docs.rs] features = ["underscore-wildcards"] rustdoc-args = ["--cfg", "docsrs"] [features] # Compile boringssl using the FIPS build flag if building boringssl from # scratch. # # See # https://boringssl.googlesource.com/boringssl/+/master/crypto/fipsmodule/FIPS.md # for instructions and more details on the boringssl FIPS flag. fips = [] # Applies a patch (`patches/underscore-wildcards.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 # (`deps/boringssl`). Alternatively, a version of boringSSL that implements the # same feature set can be provided by setting # `BORING_BSSL{,_FIPS}_SOURCE_PATH`. 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 = [] [build-dependencies] bindgen = { workspace = true } cmake = { workspace = true } fs_extra = { workspace = true } fslock = { workspace = true } [lints.rust] unexpected_cfgs = { level = "allow", check-cfg = ['cfg(const_fn)'] }