rename hash crate to keccak-hash

This commit is contained in:
Robert Habermeier
2017-11-10 19:04:55 +01:00
parent 5c8f39c3bd
commit ec5519ccd1
44 changed files with 75 additions and 75 deletions

View File

@@ -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"

View File

@@ -7,4 +7,4 @@ authors = ["debris <marek.kotewicz@gmail.com>"]
ethcore-bigint = { path = "../bigint" }
[dev-dependencies]
hash = { path = "../hash" }
keccak-hash = { path = "../hash" }

View File

@@ -1,4 +1,4 @@
extern crate hash;
extern crate keccak_hash as hash;
extern crate ethcore_bigint;
extern crate bloomable;

View File

@@ -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]

View File

@@ -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" }

View File

@@ -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;

View File

@@ -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" }

View File

@@ -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;

View File

@@ -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"

View File

@@ -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;

View File

@@ -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" }

View File

@@ -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;

View File

@@ -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;

View File

@@ -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" }

View File

@@ -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;