ecaps2: Move hashing crates to the main library.
This commit is contained in:
parent
45b38bcef9
commit
b09c57ec72
2 changed files with 6 additions and 7 deletions
|
@ -1,7 +1,3 @@
|
|||
extern crate sha2;
|
||||
extern crate sha3;
|
||||
extern crate blake2;
|
||||
|
||||
use disco::{Feature, Identity, Disco};
|
||||
use data_forms::DataForm;
|
||||
use hashes;
|
||||
|
@ -11,9 +7,9 @@ use minidom::Element;
|
|||
use error::Error;
|
||||
use ns;
|
||||
|
||||
use self::sha2::{Sha256, Sha512};
|
||||
use self::sha3::{Sha3_256, Sha3_512};
|
||||
use self::blake2::Blake2b;
|
||||
use sha2::{Sha256, Sha512};
|
||||
use sha3::{Sha3_256, Sha3_512};
|
||||
use blake2::Blake2b;
|
||||
use digest::{Digest, VariableOutput};
|
||||
use base64;
|
||||
|
||||
|
|
|
@ -11,6 +11,9 @@ extern crate minidom;
|
|||
extern crate jid;
|
||||
extern crate base64;
|
||||
extern crate digest;
|
||||
extern crate sha2;
|
||||
extern crate sha3;
|
||||
extern crate blake2;
|
||||
|
||||
/// Error type returned by every parser on failure.
|
||||
pub mod error;
|
||||
|
|
Loading…
Reference in a new issue