mirror of
https://github.com/mii443/merkle_sigs.rs.git
synced 2025-08-22 16:05:42 +00:00
Update to Rust 2018
This commit is contained in:
@ -8,6 +8,7 @@ readme = "README.md"
|
||||
documentation = "https://docs.rs/merkle_sigs"
|
||||
homepage = "https://github.com/SpinResearch/merkle_sigs.rs"
|
||||
repository = "https://github.com/SpinResearch/merkle_sigs.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
ring = "0.16.15"
|
||||
|
@ -21,7 +21,7 @@ mod signatures;
|
||||
pub use merkle::Proof;
|
||||
|
||||
pub use lamport_sigs::PublicKey;
|
||||
pub use signatures::{
|
||||
pub use crate::signatures::{
|
||||
sign_data_vec, verify_data_vec_signature, MerklePublicKey, MerkleSignature, MerkleSignedData,
|
||||
};
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#![cfg(test)]
|
||||
use ring::digest::{Algorithm, SHA512};
|
||||
use signatures::{sign_data_vec, verify_data_vec_signature, MerklePublicKey};
|
||||
use crate::signatures::{sign_data_vec, verify_data_vec_signature, MerklePublicKey};
|
||||
use std::collections::HashSet;
|
||||
use Proof;
|
||||
use PublicKey;
|
||||
use crate::Proof;
|
||||
use crate::PublicKey;
|
||||
|
||||
#[allow(non_upper_case_globals)]
|
||||
static digest: &'static Algorithm = &SHA512;
|
||||
|
Reference in New Issue
Block a user