Skip to content

Commit

Permalink
Add ff and group crates to Cargo workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Jan 6, 2019
1 parent b1ce390 commit 482bef8
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 28 deletions.
28 changes: 11 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[workspace]
members = [
"bellman",
"ff",
"group",
"librustzcash",
"pairing",
"sapling-crypto",
Expand Down
4 changes: 2 additions & 2 deletions bellman/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ version = "0.1.0"
[dependencies]
rand = "0.4"
bit-vec = "0.4.4"
ff = "0.4"
ff = { path = "../ff" }
futures = "0.1"
futures-cpupool = "0.1"
group = "0.1"
group = { path = "../group" }
num_cpus = "1"
crossbeam = "0.3"
pairing = { path = "../pairing", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion group/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ homepage = "https://github.com/ebfull/group"
repository = "https://github.com/ebfull/group"

[dependencies]
ff = "0.4"
ff = { path = "../ff" }
rand = "0.4"
2 changes: 1 addition & 1 deletion librustzcash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ crate-type = ["staticlib"]

[dependencies]
bellman = { path = "../bellman" }
ff = "0.4"
ff = { path = "../ff" }
libc = "0.2"
pairing = { path = "../pairing" }
lazy_static = "1"
Expand Down
4 changes: 2 additions & 2 deletions pairing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ repository = "https://github.com/ebfull/pairing"
[dependencies]
rand = "0.4"
byteorder = "1"
ff = { version = "0.4", features = ["derive"] }
group = "0.1"
ff = { path = "../ff", features = ["derive"] }
group = { path = "../group" }

[features]
unstable-features = ["expose-arith"]
Expand Down
1 change: 0 additions & 1 deletion pairing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#![deny(missing_debug_implementations)]

extern crate byteorder;
#[macro_use]
extern crate ff;
extern crate group;
extern crate rand;
Expand Down
2 changes: 1 addition & 1 deletion sapling-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ features = ["expose-arith"]

[dependencies]
bellman = { path = "../bellman" }
ff = "0.4"
ff = { path = "../ff" }
rand = "0.4"
digest = "0.7"
byteorder = "1"
Expand Down
2 changes: 1 addition & 1 deletion zcash_primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [

[dependencies]
byteorder = "1"
ff = "0.4"
ff = { path = "../ff" }
lazy_static = "1"
pairing = { path = "../pairing" }
rand = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion zcash_proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
[dependencies]
bellman = { path = "../bellman" }
byteorder = "1"
ff = "0.4"
ff = { path = "../ff" }
pairing = { path = "../pairing" }
rand = "0.4"
sapling-crypto = { path = "../sapling-crypto" }
2 changes: 1 addition & 1 deletion zip32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/zcash-hackworks/zip32"
[dependencies]
aes = "0.2"
byteorder = "1"
ff = "0.4"
ff = { path = "../ff" }
fpe = "0.1"
lazy_static = "1.0"
pairing = { path = "../pairing" }
Expand Down

0 comments on commit 482bef8

Please sign in to comment.