forked from wireapp/core-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
106 lines (89 loc) · 2.81 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
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
[workspace]
members = [
"crypto",
"crypto-ffi",
"crypto-attributes",
"keystore",
"keystore-dump",
"mls-provider",
"interop"
]
exclude = [
"xtask",
"extras/core-ds",
"extras/wasm-browser-run",
"extras/wasm-browser-test-runner",
"extras/keystore-regression-versions"
]
resolver = "2"
[workspace.dependencies]
tls_codec = "0.4.0"
[workspace.dependencies.uniffi]
version = "0.24"
git = "https://github.com/wireapp/uniffi-rs.git"
branch = "wire/uniffi-stable"
[patch.crates-io.schnellru]
git = "https://github.com/wireapp/schnellru"
branch = "feat/try-insert"
[patch.crates-io.rexie]
git = "https://github.com/wireapp/rexie"
branch = "feat/api-expansion"
[patch.'https://github.com/wireapp/proteus'.proteus]
package = "proteus"
# Keep the extra / in the url, it prevents this error:
# `patch for `proteus` in `https://github.com/wireapp/proteus` points to the same source, but patches must point to different sources`
git = "https://github.com/wireapp//proteus"
branch = "otak/fix-1.0.3"
[patch.crates-io.proteus-traits]
package = "proteus-traits"
git = "https://github.com/wireapp/proteus"
branch = "2.x"
[patch.crates-io.openmls]
package = "openmls"
git = "https://github.com/wireapp/openmls"
#tag = "v1.0.0-pre.core-crypto-1.0.0"
branch = "wire/stable"
[patch.crates-io.openmls_traits]
package = "openmls_traits"
git = "https://github.com/wireapp/openmls"
#tag = "v1.0.0-pre.core-crypto-1.0.0"
branch = "wire/stable"
[patch.crates-io.openmls_basic_credential]
package = "openmls_basic_credential"
git = "https://github.com/wireapp/openmls"
#tag = "v1.0.0-pre.core-crypto-1.0.0"
branch = "wire/stable"
[patch.crates-io.openmls_x509_credential]
package = "openmls_x509_credential"
git = "https://github.com/wireapp/openmls"
#tag = "v1.0.0-pre.core-crypto-1.0.0"
branch = "wire/stable"
[patch.crates-io.hpke]
git = "https://github.com/wireapp/rust-hpke.git"
branch = "wire/unstable-pq-xyber"
[patch.crates-io.wire-e2e-identity]
package = "wire-e2e-identity"
git = "https://github.com/wireapp/rusty-jwt-tools"
branch = "main"
[patch.crates-io.x509-cert]
git = "https://github.com/otak/formats"
branch = "otak/x509-cert-wasm"
# aarch64-apple-ios-sim target support has not yet been released
[patch.crates-io.openssl-src]
git = "https://github.com/alexcrichton/openssl-src-rs.git"
branch = "release/111"
package = "openssl-src"
[patch.crates-io.jwt-simple]
git = "https://github.com/wireapp/rust-jwt-simple"
tag = "v0.12.1-pre.core-crypto-1.0.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