Skip to content

Commit be726c4

Browse files
Fix cargo shear
1 parent 4d66c80 commit be726c4

File tree

15 files changed

+22
-46
lines changed

15 files changed

+22
-46
lines changed

crates/toolchain/tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ openvm-bigint-circuit.workspace = true
1818
openvm-rv32im-circuit.workspace = true
1919
openvm-rv32im-transpiler.workspace = true
2020
openvm-algebra-circuit.workspace = true
21-
openvm-ecc-guest = { workspace = true, features = ["halo2curves", "k256"] }
21+
openvm-ecc-guest = { workspace = true, features = ["k256"] }
2222
openvm-instructions = { workspace = true }
2323
openvm-platform = { workspace = true }
2424

extensions/algebra/tests/programs/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ openvm-platform = { path = "../../../../crates/toolchain/platform" }
1111
openvm-algebra-guest = { path = "../../guest" }
1212
openvm-algebra-moduli-macros = { path = "../../../algebra/moduli-macros", default-features = false }
1313
openvm-algebra-complex-macros = { path = "../../../algebra/complex-macros", default-features = false }
14-
#openvm-custom-insn = { path = "../../../../crates/toolchain/custom_insn" }
1514

1615
num-bigint = { version = "0.4", default-features = false }
1716
serde = { version = "1.0", default-features = false, features = [

extensions/bigint/guest/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,8 @@ homepage.workspace = true
88
repository.workspace = true
99

1010
[dependencies]
11-
openvm = { workspace = true }
1211
openvm-platform = { workspace = true }
1312
strum_macros = { workspace = true }
14-
serde = { workspace = true, features = ["alloc"] }
15-
serde-big-array.workspace = true
16-
17-
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
18-
num-bigint.workspace = true
19-
num-traits.workspace = true
2013

2114
[features]
2215
default = []

extensions/ecc/circuit/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ eyre = { workspace = true }
3030
num-integer = { workspace = true }
3131
serde = { workspace = true }
3232
serde_with = { workspace = true }
33-
rand = { workspace = true, features = ["std_rng"] }
3433

3534
[dev-dependencies]
3635
openvm-stark-sdk = { workspace = true }
@@ -41,7 +40,6 @@ lazy_static = { workspace = true }
4140

4241
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
4342
openvm-ecc-guest = { workspace = true, features = [
44-
"halo2curves",
4543
"k256",
4644
"p256",
4745
] }

extensions/ecc/guest/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ once_cell = { workspace = true, features = ["race", "alloc"] }
2525

2626
# Used for `halo2curves` feature
2727
halo2curves-axiom = { workspace = true, optional = true }
28-
# halo2curves = { version = "0.7.0", optional = true }
2928
group = "0.13.0"
3029

3130
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
@@ -41,4 +40,4 @@ p256 = ["dep:p256"]
4140
halo2curves = ["dep:halo2curves-axiom", "openvm-algebra-guest/halo2curves"]
4241

4342
[package.metadata.cargo-shear]
44-
ignored = ["openvm", "openvm-custom-insn", "openvm-rv32im-guest"]
43+
ignored = ["openvm", "openvm-custom-insn", "openvm-rv32im-guest", "halo2curves-axiom"]

extensions/ecc/tests/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ openvm-algebra-circuit.workspace = true
1515
openvm-algebra-transpiler.workspace = true
1616
openvm-ecc-transpiler.workspace = true
1717
openvm-ecc-circuit.workspace = true
18-
openvm-ecc-guest.workspace = true
1918
openvm-rv32im-transpiler.workspace = true
2019
openvm-keccak256-transpiler.workspace = true
2120
openvm-toolchain-tests = { path = "../../../crates/toolchain/tests" }

extensions/keccak256/guest/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,5 @@ repository.workspace = true
1010
[dependencies]
1111
openvm-platform = { workspace = true }
1212

13-
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
14-
tiny-keccak.workspace = true
15-
1613
[features]
1714
default = []

extensions/pairing/guest/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ repository.workspace = true
99

1010
[dependencies]
1111
openvm = { workspace = true }
12-
openvm-platform = { workspace = true }
1312
serde = { workspace = true }
1413
itertools = { workspace = true, features = ["use_alloc"] }
1514
rand.workspace = true
@@ -18,14 +17,10 @@ hex-literal = { workspace = true }
1817
openvm-algebra-guest = { workspace = true }
1918
openvm-algebra-moduli-macros = { workspace = true }
2019
openvm-ecc-guest = { workspace = true }
21-
openvm-ecc-sw-macros = { workspace = true }
22-
openvm-algebra-complex-macros = { workspace = true }
2320
openvm-custom-insn = { workspace = true }
24-
openvm-rv32im-guest = { workspace = true }
2521

2622
# Used for `halo2curves` feature
2723
halo2curves-axiom = { workspace = true, optional = true }
28-
group = "0.13.0"
2924

3025
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
3126
num-bigint.workspace = true
@@ -45,4 +40,4 @@ bn254 = []
4540
bls12_381 = []
4641

4742
[package.metadata.cargo-shear]
48-
ignored = ["openvm", "openvm-custom-insn"]
43+
ignored = ["openvm", "openvm-custom-insn", "serde" ]

extensions/sha256/guest/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ description = "Guest extension for Sha256"
88
[dependencies]
99
openvm-platform = { workspace = true }
1010

11-
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
12-
sha2 = { version = "0.10", default-features = false }
13-
1411
[features]
1512
default = []

guest-libs/k256/guest/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ openvm-algebra-guest = { workspace = true }
1515
openvm-algebra-moduli-macros = { workspace = true }
1616
openvm-ecc-guest = { workspace = true }
1717
openvm-ecc-sw-macros = { workspace = true }
18-
openvm-sha256-guest = { workspace = true }
19-
openvm-rv32im-guest = { workspace = true }
20-
openvm-custom-insn = { workspace = true }
2118

2219
elliptic-curve = { workspace = true }
2320
ecdsa = { workspace = true }
24-
num-bigint = { workspace = true }
2521
serde = { workspace = true }
2622
hex-literal = { workspace = true }
2723
ff = { workspace = true }
24+
25+
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
26+
num-bigint = { workspace = true }
27+
28+
[package.metadata.cargo-shear]
29+
ignored = ["openvm", "num-bigint", "serde"]

guest-libs/k256/tests/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ openvm-algebra-circuit.workspace = true
1414
openvm-algebra-transpiler.workspace = true
1515
openvm-ecc-transpiler.workspace = true
1616
openvm-ecc-circuit.workspace = true
17-
openvm-ecc-guest.workspace = true
1817
openvm-sha256-circuit.workspace = true
1918
openvm-sha256-transpiler.workspace = true
2019
openvm-rv32im-circuit.workspace = true
2120
openvm-rv32im-transpiler.workspace = true
2221
openvm-toolchain-tests.workspace = true
23-
openvm-sdk.workspace = true
2422

2523
openvm-stark-backend.workspace = true
2624
openvm-stark-sdk.workspace = true
@@ -32,3 +30,6 @@ derive_more = { workspace = true, features = ["from"] }
3230
[features]
3331
default = ["parallel"]
3432
parallel = ["openvm-circuit/parallel"]
33+
34+
[package.metadata.cargo-shear]
35+
ignored = ["derive_more"]

guest-libs/p256/guest/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ openvm-algebra-guest = { workspace = true }
1515
openvm-algebra-moduli-macros = { workspace = true }
1616
openvm-ecc-guest = { workspace = true }
1717
openvm-ecc-sw-macros = { workspace = true }
18-
openvm-sha256-guest = { workspace = true }
19-
openvm-rv32im-guest = { workspace = true }
20-
openvm-custom-insn = { workspace = true }
2118

2219
elliptic-curve = { workspace = true }
2320
ecdsa = { workspace = true }
24-
num-bigint = { workspace = true }
2521
serde = { workspace = true }
2622
hex-literal = { workspace = true }
2723
ff = { workspace = true }
24+
25+
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
26+
num-bigint = { workspace = true }
27+
28+
[package.metadata.cargo-shear]
29+
ignored = ["openvm", "serde", "num-bigint"]

guest-libs/p256/tests/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ openvm-algebra-circuit.workspace = true
1414
openvm-algebra-transpiler.workspace = true
1515
openvm-ecc-transpiler.workspace = true
1616
openvm-ecc-circuit.workspace = true
17-
openvm-ecc-guest.workspace = true
1817
openvm-sha256-circuit.workspace = true
1918
openvm-sha256-transpiler.workspace = true
2019
openvm-rv32im-circuit.workspace = true
2120
openvm-rv32im-transpiler.workspace = true
2221
openvm-toolchain-tests.workspace = true
23-
openvm-sdk.workspace = true
2422

2523
openvm-stark-backend.workspace = true
2624
openvm-stark-sdk.workspace = true
@@ -32,3 +30,6 @@ derive_more = { workspace = true, features = ["from"] }
3230
[features]
3331
default = ["parallel"]
3432
parallel = ["openvm-circuit/parallel"]
33+
34+
[package.metadata.cargo-shear]
35+
ignored = ["derive_more"]

guest-libs/pairing/guest/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ openvm-platform = { workspace = true }
1313
serde = { workspace = true }
1414
itertools = { workspace = true, features = ["use_alloc"] }
1515
rand.workspace = true
16-
strum_macros.workspace = true
1716
hex-literal = { workspace = true }
1817
openvm-algebra-guest = { workspace = true }
1918
openvm-algebra-moduli-macros = { workspace = true }
@@ -31,11 +30,7 @@ group = "0.13.0"
3130
[target.'cfg(not(target_os = "zkvm"))'.dependencies]
3231
num-bigint.workspace = true
3332
num-traits.workspace = true
34-
lazy_static.workspace = true
35-
openvm-ecc-guest = { workspace = true, features = ["halo2curves"] }
36-
37-
[target.'cfg(not(target_os = "zkvm"))'.dev-dependencies]
38-
subtle = "2.6.1"
33+
openvm-ecc-guest = { workspace = true }
3934

4035
[features]
4136
default = []

guest-libs/ruint/guest/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ openvm-ruint = { path = ".", features = ["arbitrary", "proptest"] }
5757
ark-bn254-03 = { version = "0.3.0", package = "ark-bn254" }
5858
ark-bn254-04 = { version = "0.4.0", package = "ark-bn254" }
5959

60-
criterion = "0.5"
6160
rand = "0.8"
6261

6362
approx = "0.5"
6463
bincode = "1.3"
65-
hex = "0.4"
6664
hex-literal = "0.4"
6765
postgres = "0.19"
6866
proptest = "1.2"

0 commit comments

Comments
 (0)