Skip to content

Commit

Permalink
Fixed feature hell
Browse files Browse the repository at this point in the history
  • Loading branch information
markopoloparadox committed Dec 4, 2024
1 parent 78d97dd commit 908e34b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sha2 = { version = "0.10.7", default-features = false }
sha3 = { version = "0.10.0", default-features = false }

poly-multiproof = { git = "https://github.com/availproject/poly-multiproof", default-features = false, tag = "v0.0.1" }
dusk-plonk = { git = "https://github.com/availproject/plonk.git", tag = "v0.12.0-polygon-2" }
dusk-plonk = { git = "https://github.com/availproject/plonk.git", default-features = false, features = ["alloc"], tag = "v0.12.0-polygon-2" }

hash-db = { version = "0.16.0", default-features = false }

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Data Availability Core

# Dev Notes
When changes are made make sure to run `build_test.sh`. This will check if everything works correctly under all feature permutations.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ serde = [
"impl-serde",
"primitive-types/serde_no_std", # TODO If std is enabled then the `primitive-types/serde` "should" be enabled. Don't want to deal with that rn.
"bounded-collections/serde"
]
]
1 change: 0 additions & 1 deletion kate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ serde = [ "dep:serde", "avail-core/serde" ]

extended-columns = []
maximum-block-size = []
wasmcompatible = ["kate-recovery/wasmcompatible"]

[[bench]]
name = "reconstruct"
Expand Down
3 changes: 1 addition & 2 deletions kate/recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
[dependencies]
# Internals
avail-core = { path = "../../core", default-features = false }
dusk-plonk = { workspace = true, optional = true }
dusk-plonk = { workspace = true }

# Parity
codec = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
Expand Down Expand Up @@ -43,6 +43,5 @@ std = [
"sp-arithmetic/std",
"sp-std/std",
]
wasmcompatible = ["dep:dusk-plonk"]

serde = [ "dep:serde" ]
1 change: 0 additions & 1 deletion kate/recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ pub mod sparse_slice_read;
#[cfg(feature = "std")]
pub mod testnet;

#[cfg(any(feature = "std", feature = "wasmcompatible"))]
pub mod couscous;

0 comments on commit 908e34b

Please sign in to comment.