-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
77 lines (72 loc) · 2.05 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
[workspace]
resolver = "2"
members = [
"async-opcua",
"samples/*",
"async-opcua-*",
"tools/certificate-creator",
"dotnet-tests/external-tests",
]
[workspace.dependencies]
async-trait = "^0.1"
arc-swap = "^1"
base64 = "^0.22"
bitflags = "^2"
byteorder = "^1"
bytes = "^1"
chrono = { version = "^0.4", features = ["serde"] }
convert_case = "^0.6"
futures = "^0.3"
gethostname = "^0.5"
hashbrown = "^0.15"
log = "^0.4"
parking_lot = { version = "^0.12", features = ["send_guard"] }
postcard = { version = "^1", features = ["use-std"] }
proc-macro2 = "^1"
quote = "^1"
regex = "^1"
roxmltree = "^0.20"
serde = { version = "^1", features = ["derive"] }
serde_json = { version = "^1", features = ["arbitrary_precision"] }
serde_yaml = "^0.9"
serde_with = "^3"
struson = { version = "^0.6" }
syn = { version = "^2", features = ["full"] }
thiserror = "^1"
tokio = { version = "^1", features = ["full"] }
tokio-util = { version = "^0.7", features = ["codec"] }
url = "^2"
uuid = { version = "^1", features = ["v4"] }
hmac = "^0.12"
sha2 = { version = "^0.10", features = ["oid"] }
sha1 = { version = "^0.10", features = ["oid"] }
cbc = "^0.1"
aes = "^0.8"
rsa = { version = "^0.9", features = ["sha2", "sha1", "pem"] }
rand = "^0.8"
x509-cert = { version = "^0.2", features = ["builder", "hazmat"] }
const-oid = { version = "^0.9", features = ["db"] }
# Compile the crypto dependencies in release even in debug, to make test performance tolerable
# This makes initial compile times slightly worse, but tests run way faster.
[profile.dev.package.sha1]
opt-level = 3
[profile.dev.package.sha2]
opt-level = 3
[profile.dev.package.cbc]
opt-level = 3
[profile.dev.package.aes]
opt-level = 3
[profile.dev.package.rsa]
opt-level = 3
[profile.dev.package.rand]
opt-level = 3
[profile.dev.package.x509-cert]
opt-level = 3
[profile.dev.package.hmac]
opt-level = 3
# This is probably the most important for the tests at the moment,
# as it is on the hot path of RSA private key generation (gen_prime)
[profile.dev.package.num-bigint-dig]
opt-level = 3
[profile.dev.package.rand_core]
opt-level = 3