0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 20:03:07 +02:00
libsignal/Cargo.toml
Jordan Rose 729ad3e14c Add zkgroup to the Rust workspace
- Bump the version to 0.9.0, mainly so it doesn't get confused with
  the original repo.
- Use the poksho in this repo and our custom 3.0.0-lizard2 branch of
  curve25519-dalek (instead of a 2.0.0-based one).
- Bump the sha2 dependency to match curve25519-dalek 3.0.
- Remove the reference to the crate's ffi module.

With this, the tests pass and the benchmarks run.
2021-10-26 13:16:36 -07:00

31 lines
870 B
TOML

[workspace]
members = [
"rust/crypto",
"rust/device-transfer",
"rust/hsm-enclave",
"rust/poksho",
"rust/protocol",
"rust/zkgroup",
"rust/bridge/ffi",
"rust/bridge/jni",
"rust/bridge/node",
]
default-members = [
"rust/crypto",
"rust/device-transfer",
"rust/poksho",
"rust/protocol",
"rust/zkgroup",
]
resolver = "2" # so that our dev-dependency features don't leak into products
[patch.crates-io]
# Use our fork of curve25519-dalek for eventual zkgroup support.
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', branch = '3.0.0-lizard2' }
# Use a num-bigint-dig that supports -Zbuild-std.
num-bigint-dig = { git = 'https://github.com/dignifiedquire/num-bigint', rev = '56576b592fea6341b7e1711a1629e4cc1bfc419c' }
[profile.dev.package.num-bigint-dig]
opt-level = 2 # too slow otherwise!