dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
328 stars 133 forks source link

Crate doesn't compile with recent nightly #75

Closed exFalso closed 2 years ago

exFalso commented 3 years ago

With a fairly recent nightly

$ rustc --version
rustc 1.55.0-nightly (24bdc6d73 2021-06-12)

compilation fails with

error[E0557]: feature has been removed
  --> /nix/store/ynad3bw5igvv4yfnipqfcpzw74y4vv1w-crates-io/x25519-dalek-1.1.1/src/lib.rs:19:42
   |
19 | #![cfg_attr(feature = "nightly", feature(external_doc))]
   |                                          ^^^^^^^^^^^^ feature has been removed
   |
   = note: use #[doc = include_str!("filename")] instead, which handles macro invocations

error: aborting due to previous error
isislovecruft commented 2 years ago

Fixed in x25519-dalek v1.2.0