47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[package]
|
|
name = "compio-boring2"
|
|
version = { workspace = true }
|
|
authors = ["0x676e67 <gngppz@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = { workspace = true }
|
|
repository = { workspace = true }
|
|
documentation = "https://docs.rs/compio-boring2"
|
|
description = """
|
|
An implementation of SSL streams for Compio backed by BoringSSL
|
|
"""
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["pq-experimental"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
# Use a FIPS-validated version of boringssl.
|
|
fips = ["boring/fips", "boring-sys/fips"]
|
|
|
|
# Use a FIPS build of BoringSSL, but don't set "fips-compat".
|
|
#
|
|
# As of boringSSL commit a430310d6563c0734ddafca7731570dfb683dc19, we no longer
|
|
# need to make exceptions for the types of BufLen, ProtosLen, and ValueLen,
|
|
# which means the "fips-compat" feature is no longer needed.
|
|
#
|
|
# TODO(cjpatton) Delete this feature and modify "fips" so that it doesn't imply
|
|
# "fips-compat".
|
|
fips-precompiled = ["boring/fips-precompiled"]
|
|
|
|
# Link with precompiled FIPS-validated `bcm.o` module.
|
|
fips-link-precompiled = ["boring/fips-link-precompiled", "boring-sys/fips-link-precompiled"]
|
|
|
|
# Enables experimental post-quantum crypto (https://blog.cloudflare.com/post-quantum-for-all/)
|
|
pq-experimental = ["boring/pq-experimental"]
|
|
|
|
[dependencies]
|
|
boring = { workspace = true }
|
|
boring-sys = { workspace = true }
|
|
compio = { workspace = true }
|
|
compio-io = { workspace = true, features = ["compat"]}
|
|
|
|
[dev-dependencies]
|
|
futures = { workspace = true }
|
|
compio = { workspace = true, features = [ "macros"] }
|
|
anyhow = { workspace = true }
|