-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
78 lines (72 loc) · 2.4 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
[workspace]
members = [
"crypto",
"crypto-ffi",
"crypto-attributes",
"keystore",
"keystore-dump",
"mls-provider",
"interop"
, "decode"]
exclude = [
"extras/webdriver-installation",
"extras/keystore-regression-versions"
]
resolver = "2"
[workspace.dependencies]
async-lock = "3.4"
async-recursion = "1"
async-std = "1.13"
async-trait = "0.1"
base64 = "0.22"
bitflags = "2.6"
cfg-if = "1.0"
const_format = "0.2"
core-crypto = { path = "crypto" }
core-crypto-keystore = { path = "keystore" }
core-crypto-attributes = { path = "crypto-attributes" }
derive_more = { version = "0.99", features = ["from", "into", "deref", "deref_mut"] }
futures-util = "0.3"
hex = "0.4"
idb = "0.6"
indexmap = "2"
itertools = "0.13"
log = { version = "0.4", features = ["kv_unstable_serde"] }
log-reload = "0.1.0"
mls-crypto-provider = { path = "mls-provider" }
pem = "3.0"
rand = { version = "0.8", features = ["getrandom"] }
rexie = "0.6.1" # TODO: remove once migration tests have been moved to rexie
schnellru = "0.2"
serde = "1.0"
serde_json = "1.0"
sha1 = "0.10"
sha2 = "0.10"
strum = { version = "0.26", features = ["derive"] }
thiserror = "1.0"
tls_codec = "0.4.1"
uniffi = "0.28"
url = "2.5"
uuid = "1.11"
x509-cert = "0.2"
zeroize = "1.8"
# our OpenMLS fork
openmls = { git = "https://github.com/wireapp/openmls", rev = "54ee2f6a8a149a2a864a57fa83a616c03263ca61", version = "1" }
openmls_traits = { git = "https://github.com/wireapp/openmls", rev = "54ee2f6a8a149a2a864a57fa83a616c03263ca61", version = "0.2" }
openmls_basic_credential = { git = "https://github.com/wireapp/openmls", rev = "54ee2f6a8a149a2a864a57fa83a616c03263ca61", version = "0.2" }
openmls_x509_credential = { git = "https://github.com/wireapp/openmls", rev = "54ee2f6a8a149a2a864a57fa83a616c03263ca61", version = "0.2" }
# proteus
proteus-traits = { git = "https://github.com/wireapp/proteus", tag = "v2.1.1" }
proteus-wasm = { git = "https://github.com/wireapp/proteus", tag = "v2.1.1" }
wire-e2e-identity = { git = "https://github.com/wireapp/rusty-jwt-tools", tag = "v0.12.0" }
[profile.release]
lto = true
codegen-units = 1
opt-level = "s"
# ! Important: Do NOT enable stripping.
# ! This will cause the FFI to stop working because UniFFI stores the Rust <-> cdylib mapping
# ! in the `.strtab` section of the executable. Stripping this causes everything to stop functioning.
strip = false
# panic = "abort"
[profile.dev.package.backtrace]
opt-level = 3