rename hash crate to keccak-hash
This commit is contained in:
@@ -16,7 +16,7 @@ eth-secp256k1 = { git = "https://github.com/paritytech/rust-secp256k1" }
|
||||
elastic-array = "0.9"
|
||||
rlp = { path = "rlp" }
|
||||
heapsize = "0.4"
|
||||
hash = { path = "hash" }
|
||||
keccak-hash = { path = "hash" }
|
||||
clippy = { version = "0.0.103", optional = true}
|
||||
libc = "0.2.7"
|
||||
target_info = "0.1"
|
||||
|
||||
@@ -7,4 +7,4 @@ authors = ["debris <marek.kotewicz@gmail.com>"]
|
||||
ethcore-bigint = { path = "../bigint" }
|
||||
|
||||
[dev-dependencies]
|
||||
hash = { path = "../hash" }
|
||||
keccak-hash = { path = "../hash" }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extern crate hash;
|
||||
extern crate keccak_hash as hash;
|
||||
extern crate ethcore_bigint;
|
||||
extern crate bloomable;
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
description = "Rust bindings for tinykeccak C library"
|
||||
homepage = "http://parity.io"
|
||||
license = "GPL-3.0"
|
||||
name = "hash"
|
||||
name = "keccak-hash"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
ethcore-bigint = { path = "../bigint" }
|
||||
ethcore-bigint = { version = "0.2.1", path = "../bigint" }
|
||||
tiny-keccak = "1.3"
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -19,5 +19,5 @@ util-error = { path = "../error" }
|
||||
|
||||
[dev-dependencies]
|
||||
ethcore-logger = { path = "../../logger" }
|
||||
hash = { path = "../hash" }
|
||||
keccak-hash = { path = "../hash" }
|
||||
kvdb-memorydb = { path = "../kvdb-memorydb" }
|
||||
|
||||
@@ -32,7 +32,7 @@ extern crate util_error as error;
|
||||
#[cfg(test)]
|
||||
extern crate ethcore_logger;
|
||||
#[cfg(test)]
|
||||
extern crate hash as keccak;
|
||||
extern crate keccak_hash as keccak;
|
||||
#[cfg(test)]
|
||||
extern crate kvdb_memorydb;
|
||||
|
||||
|
||||
@@ -10,6 +10,6 @@ bigint = "4.0"
|
||||
elastic-array = "0.9"
|
||||
heapsize = "0.4"
|
||||
ethcore-bigint = { version = "0.2", path = "../bigint", features = ["heapsizeof"] }
|
||||
hash = { version = "0.1.0", path = "../hash" }
|
||||
keccak-hash = { version = "0.1.0", path = "../hash" }
|
||||
hashdb = { version = "0.1.0", path = "../hashdb" }
|
||||
rlp = { version = "0.2.0", path = "../rlp" }
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
extern crate heapsize;
|
||||
extern crate ethcore_bigint as bigint;
|
||||
extern crate rlp;
|
||||
extern crate hash as keccak;
|
||||
extern crate keccak_hash as keccak;
|
||||
extern crate hashdb;
|
||||
|
||||
use std::mem;
|
||||
|
||||
@@ -31,7 +31,7 @@ rlp = { path = "../rlp" }
|
||||
path = { path = "../path" }
|
||||
ethcore-logger = { path ="../../logger" }
|
||||
ipnetwork = "0.12.6"
|
||||
hash = { path = "../hash" }
|
||||
keccak-hash = { path = "../hash" }
|
||||
snappy = { path = "../snappy" }
|
||||
serde_json = "1.0"
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ extern crate bytes;
|
||||
extern crate path;
|
||||
extern crate ethcore_logger;
|
||||
extern crate ipnetwork;
|
||||
extern crate hash;
|
||||
extern crate keccak_hash as hash;
|
||||
extern crate serde_json;
|
||||
extern crate snappy;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ log = "0.3"
|
||||
rand = "0.3"
|
||||
ethcore-bytes = { version = "0.1.0", path = "../bytes" }
|
||||
ethcore-bigint = { version = "0.2.1", path = "../bigint" }
|
||||
hash = { version = "0.1.0", path = "../hash" }
|
||||
keccak-hash = { version = "0.1.0", path = "../hash" }
|
||||
hashdb = { version = "0.1.1", path = "../hashdb" }
|
||||
rlp = { version = "0.2.0", path = "../rlp" }
|
||||
triehash = { version = "0.1.0", path = "../triehash" }
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Trie interface and implementation.
|
||||
extern crate rand;
|
||||
extern crate ethcore_bigint as bigint;
|
||||
extern crate hash as keccak;
|
||||
extern crate keccak_hash as keccak;
|
||||
extern crate rlp;
|
||||
extern crate hashdb;
|
||||
extern crate ethcore_bytes as bytes;
|
||||
|
||||
@@ -101,7 +101,7 @@ extern crate tiny_keccak;
|
||||
extern crate rlp;
|
||||
extern crate heapsize;
|
||||
extern crate ethcore_logger;
|
||||
extern crate hash as keccak;
|
||||
extern crate keccak_hash as keccak;
|
||||
extern crate hashdb;
|
||||
extern crate memorydb;
|
||||
extern crate patricia_trie as trie;
|
||||
|
||||
@@ -8,4 +8,4 @@ license = "GPL-3.0"
|
||||
[dependencies]
|
||||
rlp = { version = "0.2", path = "../rlp" }
|
||||
ethcore-bigint = { version = "0.2.1", path = "../bigint" }
|
||||
hash = { version = "0.1", path = "../hash" }
|
||||
keccak-hash = { version = "0.1", path = "../hash" }
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
//! This module should be used to generate trie root hash.
|
||||
|
||||
extern crate ethcore_bigint;
|
||||
extern crate hash;
|
||||
extern crate keccak_hash as hash;
|
||||
extern crate rlp;
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
Reference in New Issue
Block a user