-
Notifications
You must be signed in to change notification settings - Fork 722
/
Copy pathCargo.template
50 lines (46 loc) · 1.29 KB
/
Cargo.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "s2n-tls-sys"
description = "A C99 implementation of the TLS/SSL protocols"
version = "0.0.37"
authors = ["AWS s2n"]
edition = "2021"
rust-version = "1.63.0"
links = "s2n-tls"
repository = "https://github.com/aws/s2n-tls"
license = "Apache-2.0"
include = [
"build.rs",
"Cargo.toml",
"files.rs",
"lib/**/*.c",
"lib/**/*.h",
"lib/**/*.S",
"lib/CMakeLists.txt",
"lib/**/*.cmake",
"lib/**/*.flags", # for feature probes
"src/**/*.rs",
"tests/**/*.rs",
]
[features]
default = []
quic = []
pq = ["cmake"] # the pq build logic is complicated so just use cmake instead
internal = []
stacktrace = []
<TOKEN_REPLACED_WITH_UNSTABLE_FEATURES>
# e.g. something like
# unstable-foo = []
[dependencies]
libc = "0.2"
# NOTE: The version of the `openssl-sys` crate is not the same as OpenSSL itself.
# Versions 1.0.1 - 3.0.0 are automatically discovered.
openssl-sys = { version = "0.9" }
[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
cmake = { version = "0.1", optional = true }
[dev-dependencies]
# Build the vendored version to make it easy to test in dev
#
# NOTE: The version of the `openssl-sys` crate is not the same as OpenSSL itself.
# Versions 1.0.1 - 3.0.0 are automatically discovered.
openssl-sys = { version = "<= 0.9", features = ["vendored"] }