fix(ci): resolve all quick-checks failures

- Remove missing cli crate from workspace members
- Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml
- Fix Rust import ordering with cargo fmt
- Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
2026-01-04 17:21:57 +03:00
parent 933f08e282
commit 479010094e
574 changed files with 1465 additions and 2447 deletions
+4 -4
View File
@@ -34,7 +34,7 @@ scale-info = { features = ["derive"], workspace = true }
thiserror = { optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"hash-db",
@@ -59,10 +59,10 @@ std = [
# building a runtime for registering it on chain.
#
# This sets the max logging level to `off` for `log`.
disable-logging = ["log/max_level_off"]
disable-logging = [ "log/max_level_off" ]
# Do not report the documentation in the metadata.
no-metadata-docs = ["pezsp-api-proc-macro/no-metadata-docs"]
frame-metadata = ["pezsp-metadata-ir"]
no-metadata-docs = [ "pezsp-api-proc-macro/no-metadata-docs" ]
frame-metadata = [ "pezsp-metadata-ir" ]
runtime-benchmarks = [
"pezsp-runtime-interface/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
@@ -38,6 +38,6 @@ assert_matches = { workspace = true }
[features]
# Required for the doc tests
default = ["std"]
std = ["blake2/std"]
default = [ "std" ]
std = [ "blake2/std" ]
no-metadata-docs = []
@@ -24,7 +24,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, features = ["alloc", "derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"full_crypto",
@@ -35,7 +35,7 @@ std = [
]
# Serde support without relying on std features.
serde = ["dep:serde", "pezsp-core/serde", "scale-info/serde"]
serde = [ "dep:serde", "pezsp-core/serde", "scale-info/serde" ]
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
# or Intel SGX.
@@ -51,7 +51,10 @@ full_crypto = [
# This feature adds BLS crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bls-experimental = ["pezsp-core/bls-experimental", "pezsp-io/bls-experimental"]
bls-experimental = [
"pezsp-core/bls-experimental",
"pezsp-io/bls-experimental",
]
# This feature adds Bandersnatch crypto primitives.
# It should not be used in production since the implementation and interface may still
@@ -25,7 +25,7 @@ pezsp-keystore = { workspace = true }
pezsp-tracing = { workspace = true, default-features = true }
[features]
bls-experimental = ["bizinikiwi-test-runtime-client/bls-experimental"]
bls-experimental = [ "bizinikiwi-test-runtime-client/bls-experimental" ]
runtime-benchmarks = [
"bizinikiwi-test-runtime-client/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
+2 -2
View File
@@ -36,7 +36,7 @@ primitive-types = { workspace = true, default-features = true }
rand = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"num-traits/std",
@@ -45,4 +45,4 @@ std = [
"serde/std",
]
# Serde support without relying on std features.
serde = ["dep:serde", "scale-info/serde"]
serde = [ "dep:serde", "scale-info/serde" ]
@@ -24,7 +24,7 @@ pezsp-runtime = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
@@ -22,8 +22,8 @@ pezsp-inherents = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
std = ["pezsp-api/std", "pezsp-inherents/std", "pezsp-runtime/std"]
default = [ "std" ]
std = [ "pezsp-api/std", "pezsp-inherents/std", "pezsp-runtime/std" ]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
@@ -28,7 +28,7 @@ pezsp-timestamp = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
@@ -30,7 +30,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
@@ -35,7 +35,7 @@ array-bytes = { workspace = true, default-features = true }
w3f-bls = { features = ["std"], workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
@@ -29,7 +29,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"finality-grandpa/std",
@@ -23,8 +23,8 @@ pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
std = ["codec/std", "pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std"]
default = [ "std" ]
std = [ "codec/std", "pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std" ]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
@@ -33,7 +33,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["derive"], optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
@@ -23,9 +23,9 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
[features]
default = ["std"]
std = ["codec/std", "pezsp-timestamp/std", "scale-info/std", "serde/std"]
default = [ "std" ]
std = [ "codec/std", "pezsp-timestamp/std", "scale-info/std", "serde/std" ]
# Serde support without relying on std features.
serde = ["dep:serde", "scale-info/serde"]
runtime-benchmarks = ["pezsp-timestamp/runtime-benchmarks"]
serde = [ "dep:serde", "scale-info/serde" ]
runtime-benchmarks = [ "pezsp-timestamp/runtime-benchmarks" ]
+4 -4
View File
@@ -90,7 +90,7 @@ regex = { workspace = true }
serde_json = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"ark-vrf?/std",
"bip39/rand",
@@ -153,14 +153,14 @@ serde = [
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
# or Intel SGX.
# For the regular wasm runtime builds this should not be used.
full_crypto = ["blake2"]
full_crypto = [ "blake2" ]
# This feature adds BLS crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bls-experimental = ["sha2", "w3f-bls"]
bls-experimental = [ "sha2", "w3f-bls" ]
# This feature adds Bandersnatch crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bandersnatch-experimental = ["ark-vrf"]
bandersnatch-experimental = [ "ark-vrf" ]
@@ -31,7 +31,7 @@ ark-scale = { features = ["hazmat"], optional = true, workspace = true }
pezsp-runtime-interface = { optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"ark-bls12-377-ext?/std",
"ark-bls12-377?/std",
@@ -48,11 +48,11 @@ std = [
"ark-scale?/std",
"pezsp-runtime-interface?/std",
]
common = ["ark-ec", "ark-scale", "pezsp-runtime-interface"]
bls12-377 = ["ark-bls12-377", "ark-bls12-377-ext", "common"]
bls12-381 = ["ark-bls12-381", "ark-bls12-381-ext", "common"]
bw6-761 = ["ark-bw6-761", "ark-bw6-761-ext", "common"]
ed-on-bls12-377 = ["ark-ed-on-bls12-377", "ark-ed-on-bls12-377-ext", "common"]
common = [ "ark-ec", "ark-scale", "pezsp-runtime-interface" ]
bls12-377 = [ "ark-bls12-377", "ark-bls12-377-ext", "common" ]
bls12-381 = [ "ark-bls12-381", "ark-bls12-381-ext", "common" ]
bw6-761 = [ "ark-bw6-761", "ark-bw6-761-ext", "common" ]
ed-on-bls12-377 = [ "ark-ed-on-bls12-377", "ark-ed-on-bls12-377-ext", "common" ]
ed-on-bls12-381-bandersnatch = [
"ark-ed-on-bls12-381-bandersnatch",
"ark-ed-on-bls12-381-bandersnatch-ext",
@@ -36,7 +36,7 @@ criterion = { workspace = true, default-features = true }
# The proc-macro tests are in its own crate
[features]
default = ["std"]
default = [ "std" ]
std = [
"blake2b_simd/std",
"byteorder/std",
@@ -24,7 +24,7 @@ quote = { workspace = true }
syn = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = []
# By default `RuntimeDebug` implements `Debug` that outputs `<wasm:stripped>` when `std` is
# disabled. However, sometimes downstream users need to have the real `Debug` implementation for
@@ -22,5 +22,5 @@ environmental = { workspace = true }
pezsp-storage = { workspace = true }
[features]
default = ["std"]
std = ["codec/std", "environmental/std", "pezsp-storage/std"]
default = [ "std" ]
std = [ "codec/std", "environmental/std", "pezsp-storage/std" ]
@@ -25,7 +25,7 @@ pezsp-runtime = { workspace = true }
serde_json = { features = ["alloc", "arbitrary_precision"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
+2 -2
View File
@@ -28,7 +28,7 @@ thiserror = { optional = true, workspace = true }
futures = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
@@ -36,4 +36,4 @@ std = [
"scale-info/std",
"thiserror",
]
runtime-benchmarks = ["pezsp-runtime?/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-runtime?/runtime-benchmarks" ]
+2 -2
View File
@@ -60,7 +60,7 @@ polkavm-derive = { workspace = true }
rustversion = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"bytes/std",
"codec/std",
@@ -81,7 +81,7 @@ std = [
"tracing/std",
]
with-tracing = ["pezsp-tracing/with-tracing"]
with-tracing = [ "pezsp-tracing/with-tracing" ]
# These two features are used for `no_std` builds for the environments which already provides
# `#[panic_handler]`, `#[alloc_error_handler]` and `#[global_allocator]`.
+4 -4
View File
@@ -22,11 +22,11 @@ pezsp-runtime = { workspace = true }
strum = { features = ["derive"], workspace = true }
[features]
default = ["std"]
std = ["pezsp-core/std", "pezsp-runtime/std", "strum/std"]
default = [ "std" ]
std = [ "pezsp-core/std", "pezsp-runtime/std", "strum/std" ]
# This feature adds Bandersnatch crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bandersnatch-experimental = ["pezsp-core/bandersnatch-experimental"]
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
bandersnatch-experimental = [ "pezsp-core/bandersnatch-experimental" ]
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
+3 -3
View File
@@ -22,7 +22,7 @@ pezsp-core = { workspace = true }
pezsp-externalities = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"dep:parking_lot",
@@ -33,9 +33,9 @@ std = [
# This feature adds BLS crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bls-experimental = ["pezsp-core/bls-experimental"]
bls-experimental = [ "pezsp-core/bls-experimental" ]
# This feature adds Bandersnatch crypto primitives.
# It should not be used in production since the implementation and interface may still
# be subject to significant changes.
bandersnatch-experimental = ["pezsp-core/bandersnatch-experimental"]
bandersnatch-experimental = [ "pezsp-core/bandersnatch-experimental" ]
@@ -31,7 +31,7 @@ thiserror = { optional = true, workspace = true }
array-bytes = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"dep:thiserror",
+2 -2
View File
@@ -21,5 +21,5 @@ frame-metadata = { features = ["current"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
std = ["codec/std", "frame-metadata/std", "scale-info/std"]
default = [ "std" ]
std = [ "codec/std", "frame-metadata/std", "scale-info/std" ]
+2 -2
View File
@@ -26,11 +26,11 @@ pezsp-application-crypto = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
"pezsp-application-crypto/std",
"scale-info/std",
]
runtime-benchmarks = ["pezsp-api/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-api/runtime-benchmarks" ]
@@ -25,7 +25,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
bench = []
std = [
"codec/std",
@@ -44,4 +44,4 @@ serde = [
"pezsp-runtime/serde",
"scale-info/serde",
]
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
+2 -2
View File
@@ -22,8 +22,8 @@ pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
std = ["pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std"]
default = [ "std" ]
std = [ "pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std" ]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
@@ -36,7 +36,7 @@ rustversion = { workspace = true }
trybuild = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"bytes/std",
"codec/std",
@@ -26,7 +26,7 @@ pezsp-runtime-interface = { workspace = true }
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"bizinikiwi-wasm-builder",
"pezsp-core/std",
@@ -27,7 +27,7 @@ pezsp-runtime-interface = { workspace = true }
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"bizinikiwi-wasm-builder",
"bytes/std",
+3 -2
View File
@@ -61,11 +61,11 @@ runtime-benchmarks = [
"pezsp-io/runtime-benchmarks",
"pezsp-state-machine/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"pez-binary-merkle-tree/runtime-benchmarks"
]
try-runtime = []
default = ["std"]
default = [ "std" ]
std = [
"pez-binary-merkle-tree/std",
"bytes/std",
"codec/std",
"either/std",
@@ -73,6 +73,7 @@ std = [
"hash256-std-hasher/std",
"log/std",
"num-traits/std",
"pez-binary-merkle-tree/std",
"pezsp-application-crypto/std",
"pezsp-arithmetic/std",
"pezsp-core/std",
@@ -23,8 +23,8 @@
use super::{ProofToHashes, ProvingTrie, TrieError};
use crate::{Decode, DispatchError, Encode};
use alloc::{collections::BTreeMap, vec::Vec};
use pez_binary_merkle_tree::{merkle_proof, merkle_root, MerkleProof};
use codec::MaxEncodedLen;
use pez_binary_merkle_tree::{merkle_proof, merkle_root, MerkleProof};
/// A helper structure for building a basic base-2 merkle trie and creating compact proofs for that
/// trie.
+1 -1
View File
@@ -26,7 +26,7 @@ pezsp-staking = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-api/std",
+2 -2
View File
@@ -26,7 +26,7 @@ pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-core/std",
@@ -34,4 +34,4 @@ std = [
"scale-info/std",
"serde/std",
]
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
@@ -40,8 +40,8 @@ pretty_assertions = { workspace = true }
rand = { workspace = true, default-features = true }
[features]
default = ["std"]
fuzzing = ["arbitrary"]
default = [ "std" ]
fuzzing = [ "arbitrary" ]
std = [
"codec/std",
"hash-db/std",
@@ -56,6 +56,4 @@ std = [
"tracing",
"trie-db/std",
]
runtime-benchmarks = [
"pezsp-trie/runtime-benchmarks",
]
runtime-benchmarks = [ "pezsp-trie/runtime-benchmarks" ]
@@ -23,9 +23,9 @@ use arbitrary::Arbitrary;
#[cfg(test)]
use codec::Encode;
use hash_db::Hasher;
use pezsp_core::{storage::StateVersion, traits::Externalities};
#[cfg(test)]
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_core::{storage::StateVersion, traits::Externalities};
use pezsp_trie::PrefixedMemoryDB;
use std::collections::BTreeMap;
@@ -1097,13 +1097,13 @@ mod tests {
use crate::{execution::CallResult, in_memory_backend::new_in_mem};
use assert_matches::assert_matches;
use codec::Encode;
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_core::{
map,
storage::{ChildInfo, StateVersion},
traits::{CallContext, CodeExecutor, Externalities, RuntimeCode},
H256,
};
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_trie::{
trie_types::{TrieDBMutBuilderV0, TrieDBMutBuilderV1},
KeySpacedDBMut, PrefixedMemoryDB,
@@ -415,8 +415,8 @@ where
#[cfg(test)]
mod tests {
use super::*;
use pezsp_core::{storage::ChildInfo, traits::Externalities, H256};
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_core::{storage::ChildInfo, traits::Externalities, H256};
#[test]
fn commit_should_work() {
@@ -577,8 +577,8 @@ pub mod tests {
use super::*;
use codec::Encode;
use pezsp_core::H256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_core::H256;
use pezsp_trie::{
cache::{CacheSize, SharedTrieCache},
trie_types::{TrieDBBuilder, TrieDBMutBuilderV0, TrieDBMutBuilderV1},
@@ -42,7 +42,7 @@ x25519-dalek = { optional = true, features = [
], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"aes-gcm",
"aes-gcm?/std",
+1 -1
View File
@@ -17,5 +17,5 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["std"]
default = [ "std" ]
std = []
+3 -3
View File
@@ -24,8 +24,8 @@ ref-cast = { workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
[features]
default = ["std"]
std = ["codec/std", "impl-serde/std", "pezsp-debug-derive/std", "serde/std"]
default = [ "std" ]
std = [ "codec/std", "impl-serde/std", "pezsp-debug-derive/std", "serde/std" ]
# Serde support without relying on std features.
serde = ["dep:serde", "impl-serde"]
serde = [ "dep:serde", "impl-serde" ]
@@ -25,7 +25,7 @@ scale-info = { features = ["derive"], workspace = true }
serde = { features = ["derive"], optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-application-crypto/std",
@@ -42,4 +42,4 @@ serde = [
"pezsp-core/serde",
"pezsp-runtime/serde",
]
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
+1 -1
View File
@@ -24,7 +24,7 @@ pezsp-runtime = { workspace = true }
thiserror = { optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
+2 -2
View File
@@ -33,8 +33,8 @@ tracing-subscriber = { workspace = true, optional = true, features = [
] }
[features]
default = ["std"]
with-tracing = ["codec/derive", "codec/full"]
default = [ "std" ]
with-tracing = [ "codec/derive", "codec/full" ]
std = [
"codec/std",
"regex",
@@ -21,8 +21,8 @@ pezsp-api = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
std = ["pezsp-api/std", "pezsp-runtime/std"]
default = [ "std" ]
std = [ "pezsp-api/std", "pezsp-runtime/std" ]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
@@ -26,7 +26,7 @@ pezsp-trie = { optional = true, workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
+1 -1
View File
@@ -47,7 +47,7 @@ trie-bench = { workspace = true }
trie-standardmap = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"ahash",
"codec/std",
+1 -1
View File
@@ -15,6 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use super::metrics::Registry;
///! Provides the [`SharedNodeCache`], the [`SharedValueCache`] and the [`SharedTrieCache`]
///! that combines both caches and is exported to the outside.
use super::{
@@ -26,7 +27,6 @@ use core::{hash::Hash, time::Duration};
use hash_db::Hasher;
use nohash_hasher::BuildNoHashHasher;
use parking_lot::{Mutex, RwLock, RwLockWriteGuard};
use super::metrics::Registry;
use schnellru::LruMap;
use std::{
collections::{hash_map::Entry as SetEntry, HashMap},
+2 -2
View File
@@ -29,7 +29,7 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true }
thiserror = { optional = true, workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"impl-serde/std",
@@ -42,7 +42,7 @@ std = [
]
# Serde support without relying on std features.
serde = ["dep:serde", "impl-serde", "pezsp-runtime/serde"]
serde = [ "dep:serde", "impl-serde", "pezsp-runtime/serde" ]
runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
"pezsp-version-proc-macro/runtime-benchmarks",
@@ -29,4 +29,4 @@ syn = { features = ["extra-traits", "fold", "full", "visit"], workspace = true }
pezsp-version = { workspace = true, default-features = true }
[features]
runtime-benchmarks = ["pezsp-version/runtime-benchmarks"]
runtime-benchmarks = [ "pezsp-version/runtime-benchmarks" ]
@@ -24,6 +24,6 @@ log = { optional = true, workspace = true, default-features = true }
wasmtime = { optional = true, workspace = true }
[features]
default = ["std"]
std = ["anyhow?/std", "codec/std", "log/std", "wasmtime?/std"]
wasmtime = ["anyhow", "dep:wasmtime"]
default = [ "std" ]
std = [ "anyhow?/std", "codec/std", "log/std", "wasmtime?/std" ]
wasmtime = [ "anyhow", "dep:wasmtime" ]
+3 -3
View File
@@ -26,7 +26,7 @@ serde = { optional = true, features = ["alloc", "derive"], workspace = true }
smallvec = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"bounded-collections/std",
"codec/std",
@@ -38,7 +38,7 @@ std = [
]
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
# more types in the metadata.
full-metadata-docs = ["scale-info/docs"]
full-metadata-docs = [ "scale-info/docs" ]
# Serde support without relying on std features.
serde = [
@@ -48,4 +48,4 @@ serde = [
"scale-info/serde",
]
json-schema = ["dep:schemars"]
json-schema = [ "dep:schemars" ]