forked from mesalock-linux/mesalink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (55 loc) · 1.86 KB
/
Cargo.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "mesalink"
version = "0.7.0"
authors = ["The MesaLink Project Contributors"]
license = "BSD-3-Clause"
readme = "README.md"
description = "MesaLink is a memory-safe and OpenSSL-compatible TLS library based on Rustls and Ring."
keywords = ["tls", "ssl", "rust"]
homepage = "https://github.com/mesalock-linux/mesalink"
repository = "https://github.com/mesalock-linux/mesalink"
categories = ["network-programming"]
build = "build.rs"
[badges]
travis-ci = { repository = "mesalock-linux/mesalink", branch = "master" }
[lib]
name = "mesalink"
crate-type = ["lib", "staticlib"]
[features]
client_apis = []
server_apis = []
default = ["client_apis", "server_apis", "error_strings", "tls13", "aesgcm", "chachapoly", "x25519", "ecdh", "ecdsa", "verifier"]
error_strings = ["rustls/logging"]
tls13 = ["rustls/tls13"]
aesgcm = ["rustls/aesgcm"]
chachapoly = ["rustls/chachapoly"]
x25519 = ["rustls/x25519"]
ecdh = ["rustls/ecdh"]
ecdsa = ["rustls/ecdsa"]
verifier = ["rustls/dangerous_configuration"]
nightly = []
[dependencies]
rustls = "0.13.0"
webpki = "0.18.1"
ring = { version = "0.13.2", features = ["rsa_signing", ] }
untrusted = "0.6.2"
webpki-roots = "0.15.0"
env_logger = "0.5"
libc = "0.2.42"
lazy_static = "1.0.0"
enum_to_u8_slice_derive = "0.1"
[patch.crates-io]
rustls = { git = "https://github.com/mesalock-linux/rustls", tag = "v0.7.0", default-features = false }
sct = { git = "https://github.com/mesalock-linux/sct.rs", tag = "v0.7.0", default-features = false }
webpki = { git = "https://github.com/mesalock-linux/webpki", tag = "v0.7.0", default-features = true }
[dev-dependencies]
log = "0.4"
env_logger = "0.5.0"
[profile.release]
lto = true
panic = "unwind"
overflow-checks = true
[[example]]
name = "bogo_shim"
path = "examples/bogo_shim/bogo_shim.rs"
required-features = ["verifier", "error_strings", "tls13", "aesgcm", "chachapoly", "x25519", "ecdh", "ecdsa"]