Skip to content

Commit

Permalink
Detect unused dependencies (nexus-xyz#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
duc-nx authored Aug 5, 2024
1 parent 424473c commit 3644996
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ jobs:
- uses: actions/checkout@v4
- run: rustup target add riscv32i-unknown-none-elf
- run: assets/scripts/test_sdk.sh examples/src/bin/hello.rs

detect-unused-crate:
runs-on: ubuntu-latest
steps:
- uses: bnjbvr/cargo-machete@main
1 change: 0 additions & 1 deletion config/serde_wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ proc-macro = true
[dependencies]
syn = { version = "1.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
1 change: 0 additions & 1 deletion network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ lz4 = "1.24"
sha2 = "0.10.8"

ark-ff.workspace = true
ark-ec.workspace = true
ark-serialize.workspace = true

nexus-core = { path = "../core" }
Expand Down
3 changes: 0 additions & 3 deletions nova-benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ ark-ff = "0.4.0"
ark-relations = { version = "0.4.0" }
ark-r1cs-std = { version = "0.4.0" }
ark-crypto-primitives = { version = "0.4.0", features = ["sponge"] }
ark-std = "0.4.0"

ark-pallas = "0.4.0"
ark-vesta = "0.4.0"
ark-bn254 = "0.4.0"
ark-grumpkin = { git = "https://github.com/arkworks-rs/curves/", rev = "8c0256a" }

ark_spartan = { path = "../spartan", package = "ark-spartan" }

criterion = "0.5"
pprof = { version = "0.13", features = ["criterion", "flamegraph"] }

Expand Down
4 changes: 0 additions & 4 deletions spartan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ rand = "0.7.3"
digest = "0.8.1"
sha3 = "0.8.2"
rayon = { version = "1.8.0", optional = true }
subtle = { version = "2.4", default-features = false }
rand_core = { version = "0.5", default-features = false }
zeroize = { version = "1", default-features = false }
itertools = "0.10.0"
colored = "2.0.0"
thiserror = "1.0"
Expand All @@ -43,7 +40,6 @@ ark-serialize.workspace = true
ark-bls12-381 = { version = "^0.4.0", default-features = false, features = [
"curve",
] }
ark-crypto-primitives.workspace = true
derivative = "2.2.0"

[dev-dependencies]
Expand Down
2 changes: 0 additions & 2 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ clap.workspace = true
elf.workspace = true
serde.workspace = true
thiserror = "1.0"
num-traits = "0.2"
num-derive = "0.4"

ark-ff.workspace = true
ark-crypto-primitives.workspace = true
Expand Down

0 comments on commit 3644996

Please sign in to comment.