Grab-bag of cosmetic changes in prep for publishing

This commit is contained in:
David Palm 2018-08-24 11:43:00 +02:00
parent 2c3e1a851d
commit c0687344ac
14 changed files with 46 additions and 33 deletions

View File

@ -1,14 +1,14 @@
[package]
description = "Rust bindings for tinykeccak C library"
homepage = "https://github.com/paritytech/keccak-hash"
readme = "README.md"
license = "GPL-3.0"
name = "keccak-hash"
version = "0.1.2"
description = "`keccak-hash` is a set of utility functions to facilitate working with Keccak hashes (256/512 bits long)."
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
readme = "README.md"
license = "GPL-3.0"
[dependencies]
ethereum-types = "0.3"
ethereum-types = "0.4"
tiny-keccak = "1.4"
[dev-dependencies]

View File

@ -2,13 +2,16 @@
name = "kvdb-rocksdb"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "kvdb implementation backed by rocksDB"
license = "GPL-3.0"
[dependencies]
elastic-array = "0.10"
ethereum-types = "0.3"
ethereum-types = "0.4"
fs-swap = "0.2.1"
interleaved-ordered = "0.1.0"
kvdb = { path = "../kvdb" }
kvdb = { version = "0.1", path = "../kvdb" }
log = "0.3"
num_cpus = "1.0"
parking_lot = "0.6"

View File

@ -2,7 +2,10 @@
name = "kvdb"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Generic key-value database"
license = "GPL-3.0"
[dependencies]
elastic-array = "0.10"
parity-bytes = { path = "../parity-bytes" }
parity-bytes = { version = "0.1", path = "../parity-bytes" }

View File

@ -3,6 +3,7 @@ name = "memorydb"
version = "0.2.1"
authors = ["Parity Technologies <admin@parity.io>"]
description = "in-memory implementation of hashdb"
repository = "https://github.com/paritytech/parity-common"
license = "GPL-3.0"
[dependencies]
@ -14,6 +15,6 @@ rlp = { version = "0.2", path = "../rlp", default-features = false }
[dev-dependencies]
tiny-keccak = "1.4.2"
ethereum-types = "0.3"
ethereum-types = "0.4"
keccak-hasher = { version = "0.1", path = "../test-support/keccak-hasher" }
keccak-hash = { version = "0.1", path = "../keccak-hash" }

View File

@ -2,6 +2,7 @@
name = "parity-bytes"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "byte utilities for Parity"
license = "GPL-3.0"

View File

@ -2,9 +2,11 @@
name = "parity-crypto"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Crypto utils used by ethstore and network."
license = "GPL-3.0"
[dependencies]
ethereum-types = "0.3"
quick-error = "1.2.2"
ring = "0.12"
rust-crypto = "0.2.36"

View File

@ -14,10 +14,9 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! Crypto utils used ethstore and network.
//! Crypto utils used by ethstore and network.
extern crate crypto as rcrypto;
extern crate ethereum_types;
#[macro_use]
extern crate quick_error;
extern crate ring;

View File

@ -3,6 +3,7 @@ name = "patricia-trie"
version = "0.2.1"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Merkle-Patricia Trie generic over key hasher and node encoding"
repository = "https://github.com/paritytech/parity-common"
license = "GPL-3.0"
[dependencies]
@ -14,10 +15,10 @@ parity-bytes = { version = "0.1", path = "../parity-bytes" }
[dev-dependencies]
env_logger = "0.5"
ethereum-types = "0.3"
ethereum-types = "0.4"
keccak-hash = { version = "0.1", path = "../keccak-hash" }
memorydb = { version = "0.2", path = "../memorydb", default-features = false }
rlp = { version = "0.2.1", path = "../rlp", default-features = false }
rlp = { version = "0.2", path = "../rlp", default-features = false }
trie-standardmap = { version = "0.1", path = "../trie-standardmap", default-features = false }
triehash = { version = "0.2", path = "../triehash", default-features = false }
parity-bytes = { version = "0.1.0", path = "../parity-bytes" }
@ -33,9 +34,9 @@ parity-bytes = { version = "0.1.0", path = "../parity-bytes" }
# Note that this is a *copy*, without any git history or link to the mother
# repo. They are to be considered test-only helpers and do not necessarily need
# to be in sync with the `parity-ethereum` versions.
patricia-trie-ethereum = { path = "../test-support/patricia-trie-ethereum" }
patricia-trie-ethereum = { version = "0.1", path = "../test-support/patricia-trie-ethereum" }
# We need this in-tree or we end up with duplicate versions when `keccak-hasher`
# from crates.io fetches `hashdb` from crates, which causes compiler error
# `error[E0277]: the trait bound `keccak_hasher::KeccakHasher: hashdb::Hasher`
# is not satisfied`. Not sure if there's any way around that.
keccak-hasher = { path = "../test-support/keccak-hasher" }
keccak-hasher = { version = "0.1", path = "../test-support/keccak-hasher" }

View File

@ -1,15 +1,15 @@
[package]
description = "Recursive-length prefix encoding, decoding, and compression"
repository = "https://github.com/paritytech/parity"
license = "MIT/Apache-2.0"
name = "rlp"
version = "0.2.3"
description = "Recursive-length prefix encoding, decoding, and compression"
repository = "https://github.com/paritytech/parity-common"
license = "MIT/Apache-2.0"
version = "0.2.4"
authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
byteorder = "1.0"
elastic-array = "0.10"
ethereum-types = { version = "0.3", optional = true }
ethereum-types = { version = "0.4", optional = true }
rustc-hex = {version = "2.0", default-features = false }
[dev-dependencies]

View File

@ -7,7 +7,7 @@ repository = "https://github.com/paritytech/parity/"
license = "GPL-3.0"
[dependencies]
ethereum-types = "0.3"
ethereum-types = "0.4"
tiny-keccak = "1.4.2"
hashdb = { version = "0.2.0", path = "../../hashdb" }
plain_hasher = { path = "../../plain_hasher" }

View File

@ -9,8 +9,8 @@ license = "GPL-3.0"
patricia-trie = { version = "0.2", path = "../../patricia_trie" }
keccak-hasher = { version = "0.1", path = "../keccak-hasher" }
hashdb = { version = "0.2", path = "../../hashdb" }
rlp = { version = "0.2.1", path = "../../rlp" }
rlp = { version = "0.2.3", path = "../../rlp" }
parity-bytes = { version = "0.1", path = "../../parity-bytes" }
ethereum-types = "0.3"
ethereum-types = "0.4"
elastic-array = "0.10"

View File

@ -1,8 +1,9 @@
[package]
name = "trace-time"
description = "Easily trace time to execute a scope."
version = "0.1.0"
version = "0.1.1"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
license = "GPL-3.0"
[dependencies]

View File

@ -1,11 +1,13 @@
[package]
name = "trie-standardmap"
version = "0.1.0"
authors = ["debris <marek.kotewicz@gmail.com>"]
description = "Standard test map for profiling tries"
version = "0.1.1"
authors = ["debris <marek.kotewicz@gmail.com>", "Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
license = "GPL-3.0"
[dependencies]
ethereum-types = "0.3"
ethereum-types = "0.4"
keccak-hash = { version = "0.1", path = "../keccak-hash" }
parity-bytes = { path = "../parity-bytes" }
rlp = { path = "../rlp" }
parity-bytes = { version = "0.1", path = "../parity-bytes" }
rlp = { version = "0.2.4", path = "../rlp" }

View File

@ -1,15 +1,15 @@
[package]
name = "triehash"
version = "0.2.2"
version = "0.2.3"
authors = ["Parity Technologies <admin@parity.io>"]
description = "in memory patricia trie operations"
description = "In-memory patricia trie operations"
repository = "https://github.com/paritytech/parity-common"
license = "GPL-3.0"
[dependencies]
elastic-array = "0.10"
hashdb = { version = "0.2", path = "../hashdb", default-features = false }
rlp = { version = "0.2", path = "../rlp", default-features = false }
rlp = { version = "0.2.4", path = "../rlp", default-features = false }
[dev-dependencies]
trie-standardmap = { version = "0.1", path = "../trie-standardmap" }