Move workspace members (#98)

* Move workspace members to have zebra- names.

This commit breaks the build because it doesn't update any of the Cargo.toml
files, but the advantage is that this commit is a simple git mv for ease of
review.

* Update Cargo.toml files to have new file paths.

This is a separate commit to the preceding commit for ease of review (so that
the preceding commit is a simple git mv).
This commit is contained in:
Henry de Valence 2019-07-02 12:44:00 -07:00 committed by Deirdre Connolly
parent 22c3bdeb61
commit a6ee2a67bf
298 changed files with 291 additions and 291 deletions

View File

@ -11,21 +11,21 @@ clap = { version = "2", features = ["yaml"] }
env_logger = "0.5"
libc = "0.2"
log = "0.4"
zebra-db = { path = "db" }
zebra-chain = { path = "chain" }
zebra-import = { path = "import" }
zebra-keys = { path = "keys" }
zebra-logs = { path = "logs" }
zebra-message = { path = "message" }
zebra-network = { path = "network" }
zebra-miner = { path = "miner" }
zebra-p2p = { path = "p2p" }
zebra-primitives = { path = "primitives" }
zebra-rpc = { path = "rpc" }
zebra-script = { path = "script" }
zebra-storage = { path = "storage" }
zebra-sync = { path = "sync" }
zebra-verification = { path = "verification" }
zebra-db = { path = "zebra-db" }
zebra-chain = { path = "zebra-chain" }
zebra-import = { path = "zebra-import" }
zebra-keys = { path = "zebra-keys" }
zebra-logs = { path = "zebra-logs" }
zebra-message = { path = "zebra-message" }
zebra-network = { path = "zebra-network" }
zebra-miner = { path = "zebra-miner" }
zebra-p2p = { path = "zebra-p2p" }
zebra-primitives = { path = "zebra-primitives" }
zebra-rpc = { path = "zebra-rpc" }
zebra-script = { path = "zebra-script" }
zebra-storage = { path = "zebra-storage" }
zebra-sync = { path = "zebra-sync" }
zebra-verification = { path = "zebra-verification" }
[profile.dev]
debug = true
@ -44,26 +44,26 @@ name = "zebra"
[workspace]
members = [
"bencher",
"crypto",
"chain",
"db",
"import",
"keys",
"logs",
"message",
"miner",
"network",
"p2p",
"primitives",
"rpc",
"script",
"serialization",
"serialization_derive",
"storage",
"sync",
"test-data",
"verification",
"zebra-bencher",
"zebra-crypto",
"zebra-chain",
"zebra-db",
"zebra-import",
"zebra-keys",
"zebra-logs",
"zebra-message",
"zebra-miner",
"zebra-network",
"zebra-p2p",
"zebra-primitives",
"zebra-rpc",
"zebra-script",
"zebra-serialization",
"zebra-serialization_derive",
"zebra-storage",
"zebra-sync",
"zebra-test-data",
"zebra-verification",
]
[patch.crates-io]

View File

@ -1,20 +0,0 @@
[package]
name = "zebra-bencher"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
zebra-storage = { path = "../storage" }
zebra-db = { path = "../db" }
zebra-verification = { path = "../verification" }
zebra-network = { path = "../network" }
zebra-chain = { path = "../chain", features = ["test-helpers"] }
zebra-primitives = { path = "../primitives" }
zebra-test-data = { path = "../test-data" }
time = "*"
byteorder = "1.0"
[[bin]]
path = "src/main.rs"
name = "bencher"

View File

@ -1,17 +0,0 @@
[package]
name = "zebra-chain"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
rustc-hex = "2"
heapsize = "0.4"
zebra-crypto = { path = "../crypto" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-serialization_derive = { path = "../serialization_derive" }
[features]
default = []
test-helpers = []

View File

@ -1,11 +0,0 @@
[package]
name = "zebra-import"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
log = "0.4"
zebra-primitives = { path = "../primitives" }
zebra-chain = { path = "../chain" }
zebra-serialization = { path = "../serialization" }

View File

@ -1,15 +0,0 @@
[package]
name = "zebra-message"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
byteorder = "1.0"
zebra-crypto = { path = "../crypto" }
zebra-chain = { path = "../chain" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-serialization_derive = { path = "../serialization_derive" }
zebra-network = { path = "../network" }

View File

@ -1,25 +0,0 @@
[package]
name = "zebra-miner"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
byteorder = "1.0"
heapsize = "0.4"
zebra-crypto = { path = "../crypto" }
zebra-chain = { path = "../chain" }
zebra-storage = { path = "../storage" }
zebra-db = { path = "../db" }
zebra-network = { path = "../network" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-verification = { path = "../verification" }
zebra-keys = { path = "../keys" }
zebra-script = { path = "../script" }
[dev-dependencies]
zebra-test-data = { path = "../test-data" }
[features]
test-helpers = []

View File

@ -1,14 +0,0 @@
[package]
name = "zebra-network"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
lazy_static = "1.3"
rustc-hex = "2"
zebra-chain = { path = "../chain" }
zebra-keys = { path = "../keys" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-crypto = { path = "../crypto" }

View File

@ -1,36 +0,0 @@
[package]
name = "zebra-rpc"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[lib]
[dependencies]
log = "0.4"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
rustc-hex = "2"
time = "0.1"
tokio-core = "0.1.1"
jsonrpc-core = "10.0"
jsonrpc-derive = "10.0"
jsonrpc-pubsub = "10.0"
jsonrpc-http-server = "10.0"
zebra-sync = { path = "../sync" }
zebra-serialization = { path = "../serialization" }
zebra-chain = { path = "../chain" }
zebra-primitives = { path = "../primitives" }
zebra-p2p = { path = "../p2p" }
zebra-network = { path = "../network" }
zebra-storage = { path = "../storage" }
zebra-db = { path = "../db" }
zebra-miner = { path = "../miner" }
zebra-verification = { path = "../verification" }
zebra-script = { path = "../script" }
zebra-keys = { path = "../keys" }
[dev-dependencies]
zebra-test-data = { path = "../test-data" }

View File

@ -1,19 +0,0 @@
[package]
name = "zebra-script"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
byteorder = "1.0"
log = "0.4"
zebra-crypto = { path = "../crypto" }
zebra-chain = { path = "../chain" }
zebra-keys = { path = "../keys" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
[dev-dependencies]
rustc-hex = "2"
serde_json = "1.0"
zebra-chain = { path = "../chain", features = ["test-helpers"] }

View File

@ -1,35 +0,0 @@
[package]
name = "zebra-sync"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
parking_lot = "0.8"
log = "0.4"
time = "0.1"
futures = "0.1"
linked-hash-map = "0.5"
bit-vec = "0.4.3"
murmur3 = "0.4"
rand = "0.4"
byteorder = "1.0"
zebra-chain = { path = "../chain" }
zebra-crypto = { path = "../crypto" }
zebra-storage = { path = "../storage" }
zebra-db = { path = "../db" }
zebra-keys = { path = "../keys" }
zebra-message = { path = "../message" }
zebra-miner = { path = "../miner" }
zebra-p2p = { path = "../p2p" }
zebra-primitives = { path = "../primitives" }
zebra-script = { path = "../script" }
zebra-serialization = { path = "../serialization" }
zebra-verification = { path = "../verification" }
zebra-network = { path = "../network" }
[dev-dependencies]
zebra-test-data = { path = "../test-data" }
zebra-miner = { path = "../miner", features = ["test-helpers"] }
zebra-chain = { path = "../chain", features = ["test-helpers"] }

View File

@ -1,14 +0,0 @@
[package]
name = "zebra-test-data"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
time = "0.1"
zebra-chain = { path = "../chain" }
zebra-network = { path = "../network" }
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-script = { path = "../script" }

View File

@ -1,30 +0,0 @@
[package]
name = "zebra-verification"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
time = "0.1"
log = "0.4"
rayon = "1.0"
parking_lot = "0.8"
byteorder = "1.2"
rustc-hex = "2"
bitvec = "0.10"
bitflags = "1.0"
zebra-keys = { path = "../keys" }
zebra-primitives = { path = "../primitives" }
zebra-chain = { path = "../chain" }
zebra-serialization = { path = "../serialization" }
zebra-script = { path = "../script" }
zebra-network = { path = "../network" }
zebra-storage = { path = "../storage" }
zebra-crypto = { path = "../crypto" }
[dev-dependencies]
rand = "0.4"
assert_matches = "1.3.0"
zebra-chain = { path = "../chain", features = ["test-helpers"] }
zebra-db = { path = "../db" }
zebra-test-data = { path = "../test-data" }

20
zebra-bencher/Cargo.toml Normal file
View File

@ -0,0 +1,20 @@
[package]
name = "zebra-bencher"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
zebra-storage = { path = "../zebra-storage" }
zebra-db = { path = "../zebra-db" }
zebra-verification = { path = "../zebra-verification" }
zebra-network = { path = "../zebra-network" }
zebra-chain = { path = "../zebra-chain", features = ["test-helpers"] }
zebra-primitives = { path = "../zebra-primitives" }
zebra-test-data = { path = "../zebra-test-data" }
time = "*"
byteorder = "1.0"
[[bin]]
path = "src/main.rs"
name = "bencher"

17
zebra-chain/Cargo.toml Normal file
View File

@ -0,0 +1,17 @@
[package]
name = "zebra-chain"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
rustc-hex = "2"
heapsize = "0.4"
zebra-crypto = { path = "../zebra-crypto" }
zebra-primitives = { path = "../zebra-primitives" }
zebra-serialization = { path = "../zebra-serialization" }
zebra-serialization_derive = { path = "../zebra-serialization_derive" }
[features]
default = []
test-helpers = []

View File

@ -19,4 +19,4 @@ serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
siphasher = "0.3.0"
zebra-primitives = { path = "../primitives" }
zebra-primitives = { path = "../zebra-primitives" }

View File

@ -11,11 +11,11 @@ parking_lot = "0.8"
log = "0.4"
bit-vec = "0.4"
lru-cache = "0.1"
zebra-primitives = { path = "../primitives" }
zebra-serialization = { path = "../serialization" }
zebra-chain = { path = "../chain" }
zebra-storage = { path = "../storage" }
zebra-primitives = { path = "../zebra-primitives" }
zebra-serialization = { path = "../zebra-serialization" }
zebra-chain = { path = "../zebra-chain" }
zebra-storage = { path = "../zebra-storage" }
[dev-dependencies]
tempdir = "0.3"
zebra-test-data = { path = "../test-data" }
zebra-test-data = { path = "../zebra-test-data" }

11
zebra-import/Cargo.toml Normal file
View File

@ -0,0 +1,11 @@
[package]
name = "zebra-import"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
log = "0.4"
zebra-primitives = { path = "../zebra-primitives" }
zebra-chain = { path = "../zebra-chain" }
zebra-serialization = { path = "../zebra-serialization" }

View File

@ -10,5 +10,5 @@ rustc-hex = "2"
lazy_static = "1.3"
base58 = "0.1"
eth-secp256k1 = "0.5.7"
zebra-crypto = { path = "../crypto" }
zebra-primitives = { path = "../primitives" }
zebra-crypto = { path = "../zebra-crypto" }
zebra-primitives = { path = "../zebra-primitives" }

15
zebra-message/Cargo.toml Normal file
View File

@ -0,0 +1,15 @@
[package]
name = "zebra-message"
version = "0.1.0"
license = "GPL-3.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
[dependencies]
byteorder = "1.0"
zebra-crypto = { path = "../zebra-crypto" }
zebra-chain = { path = "../zebra-chain" }
zebra-primitives = { path = "../zebra-primitives" }
zebra-serialization = { path = "../zebra-serialization" }
zebra-serialization_derive = { path = "../zebra-serialization_derive" }
zebra-network = { path = "../zebra-network" }

Some files were not shown because too many files have changed in this diff Show More