forked from nmshd/rust-crypto
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
80 lines (72 loc) · 1.85 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "crypto-layer"
version = "0.1.0"
edition = "2021"
license = "MIT"
[lib]
crate-type = ["cdylib", "lib"]
[profile.dev]
debug-assertions = true
overflow-checks = true
[profile.release]
# Use fewer codegen units to enable more optimizations
codegen-units = 1
# Enable link time optimization for better performance
lto = true
# Strip debug symbols for smaller binary size
debug = false
strip = "symbols"
[features]
nks = ["core", "x25519-dalek", "hcvault"]
android = ["robusta_jni", "libloading", "tracing-android", "x25519-dalek"]
debug = []
hsm = []
ffi = []
hcvault = []
core = []
linux = ["tpm", "tss-esapi"]
macos = []
std = []
tpm = []
win = ["tpm", "windows"]
yubi = ["hsm", "yubikey"]
[dependencies]
yubikey = { version = "0.8.0", optional = true, features = ["untested"] }
sha2 = "0.10.8"
ring = "0.17.8"
tracing-attributes = "0.1.15"
anyhow = "*"
async-std = "*"
futures = "*"
once_cell = "1.14.0"
windows = { version = "0.56.0", features = [
"Win32_Security_Tpm",
"Security_Cryptography_Core",
"Win32_Security_Cryptography",
], optional = true }
tss-esapi = { version = "7.5.0", optional = true }
serde = { version = "*", features = ["derive"] }
serde_json = "1.0.109"
tracing = { version = "0.1.40", features = ["attributes"] }
tracing-subscriber = "0.3.18"
tracing-appender = "0.2.3"
x509-cert = "0.2.5"
base64 = "0.22.1"
hex = "0.4.3"
rsa = "0.9.6"
md-5 = "0.10.6"
openssl = "0.10.64"
reqwest = { version = "0.12.4", features = ["json"] }
tokio = { version = "1", features = ["full"] }
ed25519-dalek = "2.1.1"
arrayref = "0.3.7"
sodiumoxide = "0.2.7"
rand = "0.8.5"
x25519-dalek = { version = "2.0.1", features = [
"static_secrets",
], optional = true }
robusta_jni = { version = "0.2", optional = true }
libloading = { version = "0.8.3", optional = true }
tracing-android = { version = "0.2.0", optional = true }
[dev-dependencies]
test-case = "*"