Debian Codegraph @

crt/s2n/bindings/rust/extended/s2n-tls-sys/templates/Cargo.template

raw
1 [package]
2 name = "s2n-tls-sys"
3 description = "A C99 implementation of the TLS/SSL protocols"
4 version = "0.3.38"
5 authors = ["AWS s2n"]
6 edition = "2021"
7 rust-version = "1.89"
8 links = "s2n-tls"
9 repository = "https://github.com/aws/s2n-tls"
10 license = "Apache-2.0"
11 include = [
12 "build.rs",
13 "Cargo.toml",
14 "files.rs",
15 "lib/**/*.c",
16 "lib/**/*.h",
17 "lib/**/*.S",
18 "lib/CMakeLists.txt",
19 "lib/**/*.cmake",
20 "lib/**/*.flags", # for feature probes
21 "src/**/*.rs",
22 "tests/**/*.rs",
23 ]
24
25 [features]
26 default = []
27 # preserve the cmake feature in case any consumers had it enabled before
28 cmake = []
29 quic = []
30 fips = ["aws-lc-rs/fips"]
31 pq = []
32 internal = []
33 stacktrace = []
34 <TOKEN_REPLACED_WITH_UNSTABLE_FEATURES>
35 # e.g. something like
36 # unstable-foo = []
37
38 [dependencies]
39 # aws-lc-rs >=1.16.1 imports `EVP_PKEY_pqdsa_get_type()` used by s2n-tls ML-DSA feature probe.
40 aws-lc-rs = { version = ">=1.16.1" }
41 # s2n-tls-sys depends on libc (e.g. data types like `libc::c_int`)
42 libc = "0.2.121"
43
44 [build-dependencies]
45 cc = { version = "1.2.26", features = ["parallel"] }
46
47 [dev-dependencies]
48 home = "=0.5.5" # newer versions require rust 1.70, see https://github.com/aws/s2n-tls/issues/4395
49 regex = "1.12"
50 zeroize = "1.8"