53 lines
1.8 KiB
TOML
53 lines
1.8 KiB
TOML
[package]
|
|
name = "boring"
|
|
version = { workspace = true }
|
|
authors = ["Steven Fackler <sfackler@gmail.com>", "Ivan Nikulin <ifaaan@gmail.com>"]
|
|
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", "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 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"]
|
|
|
|
[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 }
|