prepare cargo configuration for upload of crates

This commit is contained in:
Robert Habermeier 2017-11-10 18:31:31 +01:00
parent 85465fc0b1
commit be092e7c09
12 changed files with 33 additions and 26 deletions

10
Cargo.lock generated
View File

@ -529,7 +529,7 @@ dependencies = [
"num_cpus 1.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-machine 0.1.0", "parity-machine 0.1.0",
"parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"patricia_trie 0.1.0", "patricia-trie 0.1.0",
"price-info 1.7.0", "price-info 1.7.0",
"rand 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
"rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -616,7 +616,7 @@ dependencies = [
"memory-cache 0.1.0", "memory-cache 0.1.0",
"memorydb 0.1.0", "memorydb 0.1.0",
"parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"patricia_trie 0.1.0", "patricia-trie 0.1.0",
"rand 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
"rlp 0.2.0", "rlp 0.2.0",
"rlp_derive 0.1.0", "rlp_derive 0.1.0",
@ -754,7 +754,7 @@ dependencies = [
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
"memorydb 0.1.0", "memorydb 0.1.0",
"parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"patricia_trie 0.1.0", "patricia-trie 0.1.0",
"rlp 0.2.0", "rlp 0.2.0",
"rocksdb 0.4.5 (git+https://github.com/paritytech/rust-rocksdb)", "rocksdb 0.4.5 (git+https://github.com/paritytech/rust-rocksdb)",
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -2340,7 +2340,7 @@ name = "path"
version = "0.1.0" version = "0.1.0"
[[package]] [[package]]
name = "patricia_trie" name = "patricia-trie"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"elastic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "elastic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3413,7 +3413,7 @@ dependencies = [
"ethjson 0.1.0", "ethjson 0.1.0",
"hash 0.1.0", "hash 0.1.0",
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
"patricia_trie 0.1.0", "patricia-trie 0.1.0",
"rlp 0.2.0", "rlp 0.2.0",
] ]

View File

@ -19,7 +19,7 @@ ethcore-bloom-journal = { path = "../util/bloom" }
ethcore-bytes = { path = "../util/bytes" } ethcore-bytes = { path = "../util/bytes" }
hashdb = { path = "../util/hashdb" } hashdb = { path = "../util/hashdb" }
memorydb = { path = "../util/memorydb" } memorydb = { path = "../util/memorydb" }
patricia_trie = { path = "../util/patricia_trie" } patricia-trie = { path = "../util/patricia_trie" }
ethcore-devtools = { path = "../devtools" } ethcore-devtools = { path = "../devtools" }
ethcore-io = { path = "../util/io" } ethcore-io = { path = "../util/io" }
ethcore-logger = { path = "../logger" } ethcore-logger = { path = "../logger" }

View File

@ -13,7 +13,7 @@ ethcore-util = { path = "../../util" }
ethcore-bigint = { path = "../../util/bigint" } ethcore-bigint = { path = "../../util/bigint" }
ethcore-bytes = { path = "../../util/bytes" } ethcore-bytes = { path = "../../util/bytes" }
memorydb = { path = "../../util/memorydb" } memorydb = { path = "../../util/memorydb" }
patricia_trie = { path = "../../util/patricia_trie" } patricia-trie = { path = "../../util/patricia_trie" }
ethcore-network = { path = "../../util/network" } ethcore-network = { path = "../../util/network" }
ethcore-io = { path = "../../util/io" } ethcore-io = { path = "../../util/io" }
ethcore-devtools = { path = "../../devtools" } ethcore-devtools = { path = "../../devtools" }

View File

@ -8,7 +8,7 @@ byteorder = "1.0"
ethcore-util = { path = "../../util" } ethcore-util = { path = "../../util" }
ethcore-bytes = { path = "../../util/bytes" } ethcore-bytes = { path = "../../util/bytes" }
ethcore-bigint = { path = "../../util/bigint" } ethcore-bigint = { path = "../../util/bigint" }
patricia_trie = { path = "../../util/patricia_trie" } patricia-trie = { path = "../../util/patricia_trie" }
log = "0.3" log = "0.3"
common-types = { path = "../types" } common-types = { path = "../types" }
ethjson = { path = "../../json" } ethjson = { path = "../../json" }

View File

@ -1,5 +1,5 @@
[package] [package]
description = "Ethcore client." description = "Log implementation for Parity"
name = "ethcore-logger" name = "ethcore-logger"
version = "1.9.0" version = "1.9.0"
license = "GPL-3.0" license = "GPL-3.0"

View File

@ -26,7 +26,7 @@ tiny-keccak= "1.0"
ethcore-logger = { path = "../logger" } ethcore-logger = { path = "../logger" }
triehash = { path = "triehash" } triehash = { path = "triehash" }
hashdb = { path = "hashdb" } hashdb = { path = "hashdb" }
patricia_trie = { path = "patricia_trie" } patricia-trie = { path = "patricia_trie" }
ethcore-bytes = { path = "bytes" } ethcore-bytes = { path = "bytes" }
memorydb = { path = "memorydb" } memorydb = { path = "memorydb" }
util-error = { path = "error" } util-error = { path = "error" }

View File

@ -2,5 +2,7 @@
name = "ethcore-bytes" name = "ethcore-bytes"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "byte utilities for Parity"
license = "GPL-3.0"
[dependencies] [dependencies]

View File

@ -2,7 +2,9 @@
name = "hashdb" name = "hashdb"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "trait for hash-keyed databases."
license = "GPL-3.0"
[dependencies] [dependencies]
elastic-array = "0.9" elastic-array = "0.9"
ethcore-bigint = { path = "../bigint" } ethcore-bigint = { version = "0.1.3", path = "../bigint" }

View File

@ -2,12 +2,14 @@
name = "memorydb" name = "memorydb"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "in-memory implementation of hashdb"
license = "GPL-3.0"
[dependencies] [dependencies]
bigint = "4.0" bigint = "4.0"
elastic-array = "0.9" elastic-array = "0.9"
heapsize = "0.4" heapsize = "0.4"
ethcore-bigint = { path = "../bigint", features = ["heapsizeof"] } ethcore-bigint = { version = "0.1.3", path = "../bigint", features = ["heapsizeof"] }
hash = { path = "../hash" } hash = { version = "0.1.0", path = "../hash" }
hashdb = { path = "../hashdb" } hashdb = { version = "0.1.0", path = "../hashdb" }
rlp = { path = "../rlp" } rlp = { version = "0.2.0", path = "../rlp" }

View File

@ -1,5 +1,5 @@
[package] [package]
name = "patricia_trie" name = "patricia-trie"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
@ -7,13 +7,11 @@ authors = ["Parity Technologies <admin@parity.io>"]
elastic-array = "0.9" elastic-array = "0.9"
log = "0.3" log = "0.3"
rand = "0.3" rand = "0.3"
ethcore-bytes = { path = "../bytes" } ethcore-bytes = { version = "0.1.0", path = "../bytes" }
ethcore-bigint = { path = "../bigint" } ethcore-bigint = { version = "0.1.3", path = "../bigint" }
hash = { path = "../hash" } hash = { version = "0.1.0", path = "../hash" }
hashdb = { path = "../hashdb" } hashdb = { version = "0.1.0", path = "../hashdb" }
rlp = { path = "../rlp" } rlp = { version = "0.2.0", path = "../rlp" }
triehash = { path = "../triehash" } triehash = { version = "0.1.0", path = "../triehash" }
memorydb = { path = "../memorydb" } memorydb = { version = "0.1.0", path = "../memorydb" }
ethcore-logger = { path = "../../logger" } ethcore-logger = { version = "1.9.0", path = "../../logger" }

View File

@ -942,6 +942,7 @@ impl<'a> Drop for TrieDBMut<'a> {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
extern crate triehash; extern crate triehash;
use self::triehash::trie_root; use self::triehash::trie_root;
use hashdb::*; use hashdb::*;
use memorydb::*; use memorydb::*;

View File

@ -2,6 +2,8 @@
name = "triehash" name = "triehash"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "in memory patricia trie operations"
license = "GPL-3.0"
[dependencies] [dependencies]
rlp = { path = "../rlp" } rlp = { path = "../rlp" }