2020-10-15 21:41:20 +02:00
|
|
|
[workspace]
|
2024-02-17 03:22:57 +01:00
|
|
|
# When adding new members, consider updating the log filter in rust/bridge/shared/src/logging.rs.
|
2020-10-15 21:41:20 +02:00
|
|
|
members = [
|
2022-05-13 22:39:26 +02:00
|
|
|
"rust/attest",
|
2021-03-10 20:37:40 +01:00
|
|
|
"rust/crypto",
|
2021-03-03 23:23:22 +01:00
|
|
|
"rust/device-transfer",
|
2024-08-10 01:13:02 +02:00
|
|
|
"rust/keytrans",
|
2023-03-13 21:53:06 +01:00
|
|
|
"rust/media",
|
2023-12-16 00:15:07 +01:00
|
|
|
"rust/message-backup",
|
2023-09-22 20:13:39 +02:00
|
|
|
"rust/net",
|
2023-02-14 16:41:51 +01:00
|
|
|
"rust/pin",
|
2021-02-19 17:56:27 +01:00
|
|
|
"rust/poksho",
|
2020-10-15 21:41:20 +02:00
|
|
|
"rust/protocol",
|
2023-11-15 22:19:17 +01:00
|
|
|
"rust/svr3",
|
2023-01-26 03:06:39 +01:00
|
|
|
"rust/usernames",
|
2023-04-17 20:10:02 +02:00
|
|
|
"rust/zkcredential",
|
2021-10-22 01:56:31 +02:00
|
|
|
"rust/zkgroup",
|
2020-10-17 00:26:26 +02:00
|
|
|
"rust/bridge/ffi",
|
2020-10-23 20:36:33 +02:00
|
|
|
"rust/bridge/jni",
|
2024-07-09 19:07:36 +02:00
|
|
|
"rust/bridge/jni/testing",
|
2020-11-12 19:30:07 +01:00
|
|
|
"rust/bridge/node",
|
|
|
|
]
|
|
|
|
default-members = [
|
2021-03-10 20:37:40 +01:00
|
|
|
"rust/crypto",
|
2021-03-03 23:23:22 +01:00
|
|
|
"rust/device-transfer",
|
2023-03-13 21:53:06 +01:00
|
|
|
"rust/media",
|
2023-12-16 00:15:07 +01:00
|
|
|
"rust/message-backup",
|
2023-02-14 16:41:51 +01:00
|
|
|
"rust/pin",
|
2021-02-19 17:58:06 +01:00
|
|
|
"rust/poksho",
|
2021-03-03 23:23:22 +01:00
|
|
|
"rust/protocol",
|
2023-01-26 03:06:39 +01:00
|
|
|
"rust/usernames",
|
2023-04-17 20:10:02 +02:00
|
|
|
"rust/zkcredential",
|
2021-10-22 01:56:31 +02:00
|
|
|
"rust/zkgroup",
|
2020-10-15 21:41:20 +02:00
|
|
|
]
|
2021-07-15 23:04:30 +02:00
|
|
|
resolver = "2" # so that our dev-dependency features don't leak into products
|
2021-02-19 22:06:35 +01:00
|
|
|
|
2024-08-26 20:16:06 +02:00
|
|
|
[workspace.dependencies]
|
|
|
|
# Our forks of some dependencies, accessible as xxx_signal so that usages of them are obvious in source code. Crates
|
|
|
|
# that want to use the real things can depend on those directly.
|
|
|
|
|
|
|
|
boring-signal = { git = "https://github.com/signalapp/boring", tag = "signal-v4.9.0", package = "boring", default-features = false }
|
|
|
|
curve25519-dalek-signal = { git = 'https://github.com/signalapp/curve25519-dalek', package = "curve25519-dalek", tag = 'signal-curve25519-4.1.3' }
|
|
|
|
tokio-boring-signal = { git = "https://github.com/signalapp/boring", package = "tokio-boring", tag = "signal-v4.9.0" }
|
|
|
|
|
|
|
|
aes = "0.8.3"
|
|
|
|
aes-gcm-siv = "0.11.1"
|
|
|
|
array-concat = "0.5.2"
|
|
|
|
arrayvec = "0.7.4"
|
|
|
|
asn1 = "0.16.1"
|
|
|
|
assert_matches = "1.5"
|
|
|
|
async-trait = "0.1.41"
|
|
|
|
atomic-take = "1.1.0"
|
2024-09-13 21:37:14 +02:00
|
|
|
base64 = "0.22.1"
|
2024-08-26 20:16:06 +02:00
|
|
|
bincode = "1.0"
|
|
|
|
bitflags = "2.3.3"
|
|
|
|
boring = { version = "4.6.0", default-features = false }
|
|
|
|
cbc = "0.1.2"
|
|
|
|
cfg-if = "1.0.0"
|
|
|
|
chacha20poly1305 = "0.10.1"
|
|
|
|
chrono = "0.4"
|
|
|
|
ciborium = "0.2"
|
|
|
|
clap = "4.4.11"
|
|
|
|
criterion = "0.5"
|
|
|
|
ctr = "0.9.2"
|
|
|
|
curve25519-dalek = "4.1.3"
|
|
|
|
derive-where = "1.2.5"
|
|
|
|
displaydoc = "0.2"
|
|
|
|
ed25519-dalek = "2.1.0"
|
|
|
|
env_logger = "0.11.4"
|
|
|
|
futures = "0.3"
|
|
|
|
futures-util = "0.3"
|
|
|
|
heck = "0.5"
|
|
|
|
hex = "0.4"
|
|
|
|
hex-literal = "0.4.1"
|
|
|
|
hkdf = "0.12"
|
|
|
|
hmac = "0.12.0"
|
|
|
|
http = "1.0.0"
|
|
|
|
indexmap = "2.1.0"
|
|
|
|
itertools = "0.13.0"
|
|
|
|
jni = "0.21"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
libc = "0.2"
|
|
|
|
linkme = "0.3.9"
|
|
|
|
log = "0.4"
|
|
|
|
log-panics = "2.1.0"
|
|
|
|
mediasan-common = "0.5.0"
|
|
|
|
neon = { version = "1.0.0", default-features = false }
|
|
|
|
nonzero_ext = "0.3.0"
|
|
|
|
num_enum = "0.7.2"
|
|
|
|
once_cell = "1.19.0"
|
|
|
|
partial-default = "0.1.0"
|
|
|
|
paste = "1.0"
|
|
|
|
proc-macro2 = "1.0"
|
|
|
|
proptest = "1.0"
|
|
|
|
prost = "0.13.1"
|
|
|
|
prost-build = "0.13.1"
|
|
|
|
quote = "1.0"
|
|
|
|
rand = "0.8"
|
|
|
|
rand_core = "0.6"
|
|
|
|
rayon = "1.8.0"
|
|
|
|
rustls-platform-verifier = "0.3.1"
|
|
|
|
scopeguard = "1.0"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
sha1 = "0.10"
|
|
|
|
sha2 = "0.10"
|
2024-09-07 00:19:20 +02:00
|
|
|
snow = { version = "0.9.6", default-features = false, features = ["hfs"] }
|
2024-08-26 20:16:06 +02:00
|
|
|
static_assertions = "1.1"
|
|
|
|
strum = "0.26"
|
|
|
|
subtle = "2.5"
|
|
|
|
syn = "2.0"
|
|
|
|
syn-mid = "0.6"
|
|
|
|
test-case = "3.3"
|
|
|
|
testing_logger = "0.1.1"
|
|
|
|
thiserror = "1.0.57"
|
|
|
|
tokio = "1"
|
|
|
|
uuid = "1.1.2"
|
|
|
|
x25519-dalek = "2.0.0"
|
|
|
|
zerocopy = "0.7.34"
|
|
|
|
|
2021-02-19 22:06:35 +01:00
|
|
|
[patch.crates-io]
|
2024-08-26 20:16:06 +02:00
|
|
|
# When building libsignal, just use our forks so we don't end up with two different versions of the libraries.
|
|
|
|
|
2024-08-02 20:03:24 +02:00
|
|
|
boring = { git = 'https://github.com/signalapp/boring', tag = 'signal-v4.9.0' }
|
2024-08-26 20:16:06 +02:00
|
|
|
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.3' }
|
2023-02-14 16:41:51 +01:00
|
|
|
|
|
|
|
[profile.dev.package.argon2]
|
|
|
|
opt-level = 2 # signal-signal-pin unit tests are too slow with an unoptimized argon2
|