-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
151 lines (133 loc) · 4.07 KB
/
Cargo.toml
File metadata and controls
151 lines (133 loc) · 4.07 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[package]
name = "core-crypto"
description = "Abstraction over OpenMLS with persistent keystore"
repository = "https://github.com/wireapp/core-crypto"
version = "9.0.1"
edition = "2024"
license = "GPL-3.0-only"
publish = false
[lints]
workspace = true
[features]
default = ["proteus"]
proteus = [
"dep:proteus-wasm",
"dep:proteus-traits",
"core-crypto-keystore/proteus-keystore",
]
# for test/bench all ciphersuites
test-all-cipher = []
# execute benches with also real db to better see overhead
bench-in-db = []
[dependencies]
derive_more.workspace = true
thiserror.workspace = true
strum.workspace = true
hex.workspace = true
futures-util.workspace = true
openmls = { workspace = true, features = ["crypto-subtle"] }
openmls_basic_credential = { workspace = true, features = ["clonable"] }
openmls_x509_credential.workspace = true
openmls_traits.workspace = true
tls_codec.workspace = true
serde.workspace = true
serde_json.workspace = true
url.workspace = true
async-trait.workspace = true
async-lock.workspace = true
schnellru.workspace = true
zeroize.workspace = true
wire-e2e-identity.workspace = true
pem.workspace = true
async-recursion.workspace = true
itertools.workspace = true
uuid.workspace = true
base64.workspace = true
log.workspace = true
proteus-wasm = { workspace = true, features = ["hazmat"], optional = true }
proteus-traits = { workspace = true, optional = true }
core-crypto-keystore.workspace = true
typed-builder.workspace = true
core-crypto-macros.workspace = true
obfuscate = { workspace = true, features = [
"openmls",
"openmls_basic_credential",
] }
aes-gcm = "0.10"
sha2 = { workspace = true, features = ["oid"] }
chacha20poly1305 = "0.10"
hmac = "0.12"
ed25519-dalek = { version = "2.2", features = ["pkcs8"] }
signature = "2.2"
ecdsa = { version = "0.16", features = ["der", "pkcs8"] }
p256 = { version = "0.13", features = ["pkcs8"] }
p384 = { version = "0.13", features = ["pkcs8"] }
p521 = { version = "0.13", features = ["pkcs8"] }
hkdf = "0.12"
x509-cert = { workspace = true, features = ["builder", "hazmat"] }
web-time = "1.1.0"
rand = { workspace = true, features = ["getrandom"] }
getrandom = { version = "0.2", features = ["js"] }
rand_core = "0.6"
rand_chacha = "0.3"
[dependencies.hpke]
version = "0.12"
features = ["x25519", "p256", "p384", "p521"]
[target.'cfg(not(target_os = "unknown"))'.dependencies]
async-fs = { version = "2.2", optional = true }
futures-lite = { version = "2.6", optional = true }
[target.'cfg(target_os = "unknown")'.dependencies]
serde-wasm-bindgen = "0.6"
[dev-dependencies]
itertools.workspace = true
uuid = { workspace = true, features = ["v4", "v5", "js"] }
tempfile = "3.27"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
rstest = "0.26"
rstest_reuse = "0.7"
env_logger = "0.11"
futures-util = { workspace = true, features = ["std", "alloc"] }
async-trait.workspace = true
wire-e2e-identity = { workspace = true, features = ["builder"] }
web-time.workspace = true
time = { version = "0.3", features = ["wasm-bindgen"] }
core-crypto-keystore = { workspace = true, features = ["dummy-entity"] }
rmp-serde = { workspace = true }
smol.workspace = true
smol-macros.workspace = true
macro_rules_attribute.workspace = true
wasm-bindgen-test = { workspace = true }
openmls.workspace = true
hex-literal = "1.1"
[target.'cfg(not(target_os = "unknown"))'.dev-dependencies.criterion]
version = "0.8"
features = ["async_smol", "async_futures", "html_reports"]
[target.'cfg(not(target_os = "unknown"))'.dev-dependencies]
smol-macros.workspace = true
macro_rules_attribute.workspace = true
[[bench]]
name = "key_package"
harness = false
[[bench]]
name = "proposal"
harness = false
[[bench]]
name = "commit"
harness = false
[[bench]]
name = "encryption"
harness = false
[[bench]]
name = "create_group"
harness = false
[[bench]]
name = "transaction"
harness = false
[build-dependencies]
anyhow = "1.0.102"
# this is appropriate if we always and only build in environments where `git`
# is available on the command line. If not, we should replace this with
# `vergen-gix` or `vergen-git2`.
vergen-gitcl = { version = "9.1.0", features = ["build", "cargo"] }