couchand / signal-rs

:lock_with_ink_pen: a pure Rust implementation of the Signal protocol
MIT License
38 stars 4 forks source link

Some modules no longer build due to outdated crates, one example given below: #2

Open godadada opened 5 years ago

godadada commented 5 years ago

dude@ubuntu:~/proj/lib/signal-common$ cargo build Updating crates.io index error: failed to select a version for the requirement subtle = "^0.7" candidate versions found which didn't match: 2.0.0, 1.0.0 location searched: crates.io index required by package curve25519-dalek v0.19.1 ... which is depended on by x25519-dalek v0.3.0 ... which is depended on by signal-common v0.1.0 (/home/dude/proj/lib/signal-common)

dude@ubuntu:~/test/signal-rs$ make cargo build --bin server Updating crates.io index error: failed to select a version for the requirement orion = "^0.9.1" candidate versions found which didn't match: 0.13.4, 0.13.3, 0.13.2, ... location searched: crates.io index required by package double-ratchet v0.1.0 (/home/dude/test/signal-rs/crates/double-ratchet) make: *** [Makefile:13: target/debug/server] Error 101 dude@ubuntu:~/test/signal-rs$

xobs commented 4 years ago

Part of the problem is that this crate is missing Cargo.lock.

The dalek maintainers yanked older packages, which prevents this crate from building. If the Cargo.lock file were included, then this crate would continue to be able to be built.