rename trie to patricia-trie

This commit is contained in:
Hawstein
2017-09-13 01:23:02 +08:00
parent ade37be25b
commit dd7a60c7a8
24 changed files with 45 additions and 45 deletions

View File

@@ -31,7 +31,7 @@ ethcore-logger = { path = "../logger" }
triehash = { path = "triehash" }
error-chain = "0.11.0-rc.2"
hashdb = { path = "hashdb" }
trie = { path = "trie" }
patricia_trie = { path = "patricia_trie" }
nibbleslice = { path = "nibbleslice" }
nibblevec = { path = "nibblevec" }
ethcore-bytes = { path = "bytes" }

View File

@@ -22,7 +22,7 @@ extern crate ethcore_util;
extern crate ethcore_bytes;
extern crate ethcore_bigint;
extern crate memorydb;
extern crate trie;
extern crate patricia_trie as trie;
#[macro_use]
extern crate log;
extern crate hash;

View File

@@ -1,5 +1,5 @@
[package]
name = "trie"
name = "patricia_trie"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]

View File

@@ -31,7 +31,7 @@ use bytes::{ToPretty, Bytes};
///
/// # Example
/// ```
/// extern crate trie;
/// extern crate patricia_trie as trie;
/// extern crate hashdb;
/// extern crate memorydb;
/// extern crate ethcore_bigint as bigint;

View File

@@ -261,7 +261,7 @@ impl<'a> Index<&'a StorageHandle> for NodeStorage {
///
/// # Example
/// ```
/// extern crate trie;
/// extern crate patricia_trie as trie;
/// extern crate hashdb;
/// extern crate memorydb;
/// extern crate ethcore_bigint as bigint;

View File

@@ -107,7 +107,7 @@ extern crate ethcore_logger;
extern crate hash as keccak;
extern crate hashdb;
extern crate memorydb;
extern crate trie;
extern crate patricia_trie as trie;
#[macro_use]
extern crate error_chain;