SpinResearch / RustySecrets

🔑 Threshold Shamir's secret sharing in Rust
BSD 3-Clause "New" or "Revised" License
254 stars 33 forks source link

rustc: "warning: use of deprecated item" #23

Closed garrettr closed 6 years ago

garrettr commented 7 years ago
RustySecrets ~> cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/SpinResearch/merkle_sigs.rs`
 Downloading ring v0.6.3
 Downloading rand v0.3.15
 Downloading protobuf v1.2.1
 Downloading rustc-serialize v0.3.22
 Downloading libc v0.2.20
 Downloading untrusted v0.3.2
 Downloading lamport_sigs v0.1.2
 Downloading merkle v1.1.0
   Compiling ring v0.6.3
   Compiling rustc-serialize v0.3.22
   Compiling rusty_secrets v0.0.3 (file:///Users/garrett/code/freedomofpress/RustySecrets)
   Compiling untrusted v0.3.2
   Compiling protobuf v1.2.1
   Compiling libc v0.2.20
   Compiling rand v0.3.15
   Compiling lamport_sigs v0.1.2
   Compiling merkle v1.1.0
   Compiling merkle_sigs v1.1.0 (https://github.com/SpinResearch/merkle_sigs.rs?tag=1.1.0#0f59ad68)
warning: use of deprecated item
   --> src/share_data.rs:259:29
    |
259 |                 fields.push(::protobuf::reflect::accessor::make_repeated_bytes_accessor(
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(deprecated)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 29.90 secs
romac commented 6 years ago

This has been taken care of in a private branch that we intend to make public soon, after it will have been audited.

romac commented 6 years ago

Thank you so much for reporting this issue though, and sorry for the very late reply.