Skip to content

Commit

Permalink
Hoist all deps to workspace (#1842)
Browse files Browse the repository at this point in the history
<!-- Reference any GitHub issues resolved by this PR -->

Closes #1527 


## Checklist

<!-- Make sure all of these are complete -->

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
  • Loading branch information
MaksymilianDemitraszek authored Mar 8, 2024
1 parent 353ff8f commit 070f7b7
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 32 deletions.
25 changes: 25 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,28 @@ num-integer = "0.1.46"
scarb-ui = "0.1.3"
semver = "1.0.22"
bimap = "0.6.3"
primitive-types = "0.12.1"
shellexpand = "3.1.0"
toml = "0.8.10"
rpassword = "7.3.1"
promptly = "0.3.1"
# Freeze reqwest dependency, because newer versions cause cast tests to fail on macs
reqwest = "=0.11.18"
fs_extra = "1.3.0"
schemars = { version = "0.8.12", features = ["preserve_order"] }
ark-ff = "0.4.0-alpha.7"
ark-std = "0.4.0"
ark-secp256k1 = "0.4.0"
ark-secp256r1 = "0.4.0"
openssl = { version = "0.10", features = ["vendored"] }
toml_edit = "0.22.6"
criterion = { version = "0.5.1", features = ["html_reports"] }
axum = "0.7.4"
lazy_static = "1.4.0"
fs2 = "0.4.3"
flate2 = "1.0.27"
k256 = { version = "0.13.2", features = ["sha256", "ecdsa", "serde"] }
p256 = { version = "0.13.2", features = ["sha256", "ecdsa", "serde"] }
glob = "0.3.1"
sha3 = "0.10.8"
base16ct = { version = "0.2.0", features = ["alloc"] }
12 changes: 6 additions & 6 deletions crates/cheatnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ blockifier.workspace = true
camino.workspace = true
starknet_api.workspace = true
cairo-felt.workspace = true
tempfile.workspace = true
cairo-lang-casm.workspace = true
cairo-lang-runner.workspace = true
cairo-lang-utils.workspace = true
Expand All @@ -31,17 +30,18 @@ num-bigint.workspace = true
conversions.workspace = true
scarb-metadata.workspace = true
trace-data.workspace = true
fs2 = "0.4.3"
flate2 = "1.0.27"
fs2.workspace = true
flate2.workspace = true
scarb-api = { path = "../scarb-api" }
runtime = { path = "../runtime" }
universal-sierra-compiler-api = { path = "../universal-sierra-compiler-api" }
k256 = { version = "0.13.2", features = ["sha256", "ecdsa", "serde"] }
p256 = { version = "0.13.2", features = ["sha256", "ecdsa", "serde"] }
k256.workspace = true
p256.workspace = true

[dev-dependencies]
ctor.workspace = true
indoc.workspace = true
rayon.workspace = true
glob = "0.3.1"
glob.workspace = true
test-case.workspace = true
tempfile.workspace = true
24 changes: 12 additions & 12 deletions crates/forge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ anyhow.workspace = true
blockifier.workspace = true
camino.workspace = true
include_dir.workspace = true
indoc.workspace = true
starknet_api.workspace = true
tempfile.workspace = true
rayon.workspace = true
shared.workspace = true
cheatnet = { path = "../cheatnet" }
Expand Down Expand Up @@ -45,15 +43,15 @@ rand.workspace = true
scarb-metadata.workspace = true
scarb-ui.workspace = true
semver.workspace = true
schemars = { version = "0.8.12", features = ["preserve_order"] }
schemars.workspace = true
cairo-vm.workspace = true
ark-ff = "0.4.0-alpha.7"
ark-std = "0.4.0"
ark-secp256k1 = "0.4.0"
ark-secp256r1 = "0.4.0"
ark-ff.workspace = true
ark-std.workspace = true
ark-secp256k1.workspace = true
ark-secp256r1.workspace = true
# openssl is being used, please do not remove it!
openssl = { version = "0.10", features = ["vendored"] }
toml_edit = "0.22.6"
openssl.workspace = true
toml_edit.workspace = true
flatten-serde-json.workspace = true
smol_str.workspace = true
tokio.workspace = true
Expand All @@ -70,10 +68,12 @@ path = "src/main.rs"
[dev-dependencies]
assert_fs.workspace = true
snapbox.workspace = true
criterion = { version = "0.5.1", features = ["html_reports"] }
criterion.workspace = true
test_utils = { path = "test_utils" }
axum = "0.7.4"
lazy_static = "1.4.0"
axum.workspace = true
lazy_static.workspace = true
indoc.workspace = true
tempfile.workspace = true

[[bench]]
name = "forge_bench"
Expand Down
2 changes: 1 addition & 1 deletion crates/scarb-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition.workspace = true
[dependencies]
anyhow.workspace = true
camino.workspace = true
indoc.workspace = true
scarb-metadata.workspace = true
scarb-ui.workspace = true
serde.workspace = true
Expand All @@ -19,3 +18,4 @@ universal-sierra-compiler-api = { path = "../universal-sierra-compiler-api" }

[dev-dependencies]
assert_fs.workspace = true
indoc.workspace = true
24 changes: 11 additions & 13 deletions crates/sncast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ url.workspace = true
rand.workspace = true
scarb-metadata.workspace = true
thiserror.workspace = true
primitive-types = "0.12.1"
shellexpand = "3.1.0"
toml = "0.8.10"
rpassword = "7.3.1"
promptly = "0.3.1"
primitive-types.workspace = true
shellexpand.workspace = true
toml.workspace = true
rpassword.workspace = true
promptly.workspace = true
scarb-api = { path = "../scarb-api" }
scarb-ui.workspace = true
# Freeze reqwest dependency, because newer versions cause cast tests to fail on macs
reqwest = "=0.11.18"
reqwest.workspace = true
indoc.workspace = true
tempfile.workspace = true
runtime = { path = "../runtime" }
Expand All @@ -42,19 +41,18 @@ cairo-vm.workspace = true
blockifier.workspace = true
semver.workspace = true
console.workspace = true
sha3 = "0.10.8"
base16ct = { version = "0.2.0", features = ["alloc"] }
sha3.workspace = true
base16ct.workspace = true

[dev-dependencies]
ctor.workspace = true
snapbox.workspace = true
indoc.workspace = true
project-root.workspace = true
reqwest = "0.11.18"
tempfile = "3.10.1"
tempfile.workspace = true
test-case.workspace = true
fs_extra = "1.3.0"
dotenv = "0.15.0"
fs_extra.workspace = true
dotenv.workspace = true

[[bin]]
name = "sncast"
Expand Down

0 comments on commit 070f7b7

Please sign in to comment.