Skip to content
This repository was archived by the owner on Mar 29, 2025. It is now read-only.

Commit a3dacf8

Browse files
committed
fix: make compression game optional because c-kzg doesnt compile in r0
1 parent 051f1ea commit a3dacf8

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

fuel-zkvm-primitives-prover/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@ edition = "2021"
77
alloy-sol-types = { workspace = true }
88
anyhow = { version = "1", default-features = false }
99
bincode = { workspace = true }
10-
fuel-block-committer-encoding = "0.10.5"
11-
fuel-core-compression = { workspace = true }
10+
fuel-block-committer-encoding = { version = "0.10.7", optional = true }
11+
fuel-core-compression = { workspace = true, optional = true }
1212
fuel-core-executor = { workspace = true }
1313
fuel-core-storage = { workspace = true }
1414
fuel-core-types = { workspace = true }
15-
postcard = "1.0.10"
15+
postcard = { version = "1.0.10", optional = true }
16+
rand = { version = "0.9.0", optional = true }
1617
serde = { workspace = true }
1718
tai64 = { workspace = true }
18-
thiserror = "2.0.3"
19+
thiserror = { version = "2.0.3", optional = true }
1920

2021
[dev-dependencies]
21-
rand = "0.9.0"
22+
23+
[features]
24+
compression-game = ["dep:fuel-block-committer-encoding", "dep:postcard", "dep:fuel-core-compression", "dep:thiserror", "dep:rand"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
pub mod block_execution_game;
2+
3+
#[cfg(feature = "compression-game")]
24
pub mod decompression_gzip_game;

0 commit comments

Comments
 (0)