Update to Rust 2018

This commit is contained in:
Romain Ruetschi
2020-07-09 23:29:32 +02:00
parent 830d92cd8f
commit a7d6e148e1
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ repository = "https://github.com/SpinResearch/lamport_sigs.rs"
keywords = ["lamport", "signature-scheme"]
categories = ["cryptography", "algorithms"]
readme = "README.md"
edition = "2018"
[dependencies]
ring = "^0.16.1"

View File

@ -1,7 +1,7 @@
use ring::digest::{Algorithm, SHA256, SHA512};
use PrivateKey;
use PublicKey;
use crate::PrivateKey;
use crate::PublicKey;
static DIGEST_256: &Algorithm = &SHA256;
static DIGEST_512: &Algorithm = &SHA512;