This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Move dependencies to a workspace
Cargo.toml
file (#86)
* chore: pull package info from workspace Cargo.toml * chore: move references to local crates into workspace toml * chore: move serde dependency up to workspace * chore: allow crate versions to diverge
- Loading branch information
1 parent
65d6130
commit 8f3738c
Showing
4 changed files
with
51 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
[workspace] | ||
|
||
members = ["acir_field", "acir", "acvm", "stdlib"] | ||
|
||
[workspace.package] | ||
authors = ["The Noir Team <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
rust-version = "1.66" | ||
|
||
[workspace.dependencies] | ||
acir = { version = "0.4.1", path = "acir" } | ||
acir_field = { version = "0.4.1", path = "acir_field" } | ||
stdlib = { package = "acvm_stdlib", version = "0.4.1", path = "stdlib" } | ||
|
||
hex = "0.4.2" | ||
num-bigint = "0.4" | ||
num-traits = "0.2" | ||
|
||
blake2 = "0.9.1" | ||
|
||
serde = { version = "1.0.136", features = ["derive"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
[package] | ||
name = "acir" | ||
version = "0.4.1" | ||
authors = ["Kevaundray Wedderburn <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
description = "ACIR is the IR that the VM processes, it is analogous to LLVM IR" | ||
version = "0.4.1" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
acir_field = { version = "0.4.1", path = "../acir_field" } | ||
serde = { version = "1.0.136", features = ["derive"] } | ||
acir_field.workspace = true | ||
serde.workspace = true | ||
|
||
rmp-serde = "1.1.0" | ||
flate2 = "1.0.24" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
[package] | ||
name = "acir_field" | ||
version = "0.4.1" | ||
authors = ["Kevaundray Wedderburn <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
description = "The field implementation being used by ACIR." | ||
version = "0.4.1" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
hex = "0.4.2" | ||
blake2.workspace = true | ||
hex.workspace = true | ||
num-bigint.workspace = true | ||
num-traits.workspace = true | ||
serde.workspace = true | ||
|
||
|
||
ark-bn254 = { version = "^0.4.0", optional = true, default-features = false, features = [ | ||
"curve", | ||
|
@@ -19,12 +26,7 @@ ark-bls12-381 = { version = "^0.4.0", optional = true, default-features = false, | |
ark-ff = { version = "^0.4.0", optional = true, default-features = false } | ||
ark-serialize = { version = "^0.4.0", default-features = false } | ||
|
||
blake2 = "0.9.1" | ||
cfg-if = "1.0.0" | ||
serde = { version = "1.0.136", features = ["derive"] } | ||
|
||
num-bigint = "0.4" | ||
num-traits = "0.2.8" | ||
|
||
[features] | ||
default = ["bn254"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
[package] | ||
name = "acvm" | ||
version = "0.4.1" | ||
authors = ["Kevaundray Wedderburn <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
description = "The virtual machine that processes ACIR given a backend/proof system." | ||
version = "0.4.1" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
rust-version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
num-bigint = "0.4" | ||
num-traits = "0.2" | ||
acir = { version = "0.4.1", path = "../acir" } | ||
stdlib = { package = "acvm_stdlib", version = "0.4.1", path = "../stdlib" } | ||
num-bigint.workspace = true | ||
num-traits.workspace = true | ||
blake2.workspace = true | ||
|
||
acir.workspace = true | ||
stdlib.workspace = true | ||
|
||
sha2 = "0.9.3" | ||
blake2 = "0.9.1" | ||
hex = "0.4.2" | ||
k256 = { version = "0.7.2", features = [ | ||
"ecdsa", | ||
"ecdsa-core", | ||
|