[package] name = "integration" version = "0.1.0" authors = ["AWS s2n"] edition = "2021" publish = false [features] default = ["pq", "no-sensitive-tests"] # Network tests are useful but relatively slow and inherently flaky. So they are # behind this feature flag. This is specified as a "negative" feature because # many of our CI jobs use `cargo test --all-features`, and we don't want those # to run these tests no-sensitive-tests = [] # Not all libcryptos support PQ capabilities. Tests relying on PQ functionality # can be disabled by turning off this feature. pq = [ "s2n-tls/pq" ] boringssl = ["tls-harness/boringssl"] [dependencies] s2n-tls = { path = "../../extended/s2n-tls", features = ["unstable-testing", "unstable-crl", "unstable-events"]} s2n-tls-hyper = { path = "../s2n-tls-hyper" } s2n-tls-tokio = { path = "../../extended/s2n-tls-tokio" } s2n-tls-sys = { path = "../../extended/s2n-tls-sys", features = ["unstable-async_offload", "unstable-renegotiate"] } aws-lc-sys = "*" tls-harness = { path = "../tls-harness" } [dev-dependencies] openssl = { version = "0.10", features = ["vendored"] } tokio = { version = "1", features = ["macros", "test-util"] } tokio-openssl = { version = "0.6.5" } rustls = "0.23" brass-aphid-wire-decryption = "0.0.2" brass-aphid-wire-messages = "0.0.2" tracing = "0.1" tracing-subscriber = "0.3" test-log = { version = "0.2", default-features = false, features = ["trace"]} http = "1.1" http-body-util = "0.1" bytes = "1.8" hyper = "1.5" hyper-util = "0.1" dhat = "0.3.3" tabled = "0.21.0" # This should be the latest version of metrics subscriber available on crates.io old-metrics-subscriber = { package = "s2n-tls-metrics-subscriber", version = "0.0.3" } serde_json = "1" # NOTE: BoringSSL is disabled on macOS to avoid symbol collisions with # OpenSSL; see https://github.com/aws/s2n-tls/pull/5659 for details. [target.'cfg(not(target_os = "macos"))'.dev-dependencies.boring] git = "https://github.com/kaukabrizvi/boring.git" features = ["prefix-symbols"] [build-dependencies] # The ML-DSA tests require the ML-DSA support added in Openssl-3.5 # Since this overrides the dependency from the openssl-src crate, # the features are copied from the openssl-src crate's Cargo.toml: # https://github.com/sfackler/rust-openssl/blob/eb88fb0533c3593cc2fff6d03cf2befea8ecbe27/openssl-sys/Cargo.toml#L31 openssl-src = { version = "300.5", optional = true, features = ["legacy"] }