Skip to content

Commit 9ed4237

Browse files
authored
add zkc feature (#1149)
This fixes the zkc related contracts dependency that required running forge build for them
1 parent af292ed commit 9ed4237

File tree

8 files changed

+10
-7
lines changed

8 files changed

+10
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repository = "https://github.com/boundless-xyz/boundless/"
3131
boundless-assessor = { version = "1.0.0", path = "crates/assessor" }
3232
boundless-cli = { version = "1.0.0", path = "crates/boundless-cli" }
3333
boundless-market = { version = "1.0.0", path = "crates/boundless-market" }
34-
boundless-test-utils = { path = "crates/test-utils" }
34+
boundless-test-utils = { path = "crates/test-utils", default-features = false }
3535
boundless-zkc = { version = "1.0.0", path = "crates/zkc" }
3636
boundless-povw = { path = "crates/povw" }
3737
distributor = { path = "crates/distributor" }

crates/boundless-market/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ time = "0.3"
5656
utoipa = { workspace = true }
5757

5858
[dev-dependencies]
59-
boundless-test-utils = { workspace = true }
59+
boundless-test-utils = { workspace = true, features = ["povw"] }
6060
tracing-test = { workspace = true }
6161

6262
[build-dependencies]

crates/test-utils/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ wiremock = { version = "0.6", optional = true }
4141
reqwest = { workspace = true, features = ["json"] }
4242

4343
[features]
44-
povw = ["dep:boundless-povw", "dep:bytemuck", "dep:derive_builder", "dep:postcard", "dep:rand", "dep:risc0-povw", "dep:risc0-steel", "dep:wiremock", "dep:serde", "dep:serde_json", "dep:uuid", "dep:bincode", "dep:tracing"]
44+
default = ["povw", "zkc"]
45+
povw = ["dep:boundless-povw", "dep:bytemuck", "dep:derive_builder", "dep:postcard", "dep:rand", "dep:risc0-povw", "dep:risc0-steel", "dep:wiremock", "dep:serde", "dep:serde_json", "dep:uuid", "dep:bincode", "dep:tracing", "zkc"]
46+
zkc = []

crates/test-utils/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub mod market;
2222
#[cfg(feature = "povw")]
2323
pub mod povw;
2424
pub mod verifier;
25+
#[cfg(feature = "zkc")]
2526
pub mod zkc;
2627

2728
pub mod guests {

examples/composition/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
# Intra-workspace dependencies
1212
guest-util = { path = "../../crates/guest/util" }
1313
boundless-market = { path = "../../crates/boundless-market" }
14-
boundless-test-utils = { path = "../../crates/test-utils" }
14+
boundless-test-utils = { path = "../../crates/test-utils", default-features = false }
1515
broker = { path = "../../crates/broker" }
1616

1717
# risc0 monorepo dependencies.

examples/counter-with-callback/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
# Intra-workspace dependencies
1212
guest-util = { path = "../../crates/guest/util" }
1313
boundless-market = { path = "../../crates/boundless-market" }
14-
boundless-test-utils = { path = "../../crates/test-utils" }
14+
boundless-test-utils = { path = "../../crates/test-utils", default-features = false }
1515
broker = { path = "../../crates/broker" }
1616

1717
# risc0 monorepo dependencies.

examples/counter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
# Intra-workspace dependencies
1212
guest-util = { path = "../../crates/guest/util" }
1313
boundless-market = { path = "../../crates/boundless-market" }
14-
boundless-test-utils = { path = "../../crates/test-utils" }
14+
boundless-test-utils = { path = "../../crates/test-utils", default-features = false }
1515
broker = { path = "../../crates/broker" }
1616

1717
# risc0 monorepo dependencies.

examples/smart-contract-requestor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
# Intra-workspace dependencies
1212
guest-util = { path = "../../crates/guest/util" }
1313
boundless-market = { path = "../../crates/boundless-market" }
14-
boundless-test-utils = { path = "../../crates/test-utils" }
14+
boundless-test-utils = { path = "../../crates/test-utils", default-features = false }
1515
broker = { path = "../../crates/broker" }
1616

1717
# risc0 monorepo dependencies.

0 commit comments

Comments
 (0)