style: apply taplo format to all Cargo.toml files
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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]`.
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -10,11 +10,11 @@ description = "Runtime Modules shared primitive types."
|
||||
documentation.workspace = true
|
||||
readme = "README.md"
|
||||
exclude = [
|
||||
"docs/images/*.png",
|
||||
"docs/images/*.jpg",
|
||||
"docs/whitepaper/*.png",
|
||||
"!docs/images/Pezkuwi_Logo_Horizontal_Pink_White.png",
|
||||
"!docs/images/Pezkuwi_Logo_Horizontal_Pink_Black.png",
|
||||
"!docs/images/Pezkuwi_Logo_Horizontal_Pink_White.png",
|
||||
"docs/images/*.jpg",
|
||||
"docs/images/*.png",
|
||||
"docs/whitepaper/*.png",
|
||||
]
|
||||
|
||||
[lints]
|
||||
@@ -24,7 +24,6 @@ workspace = true
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
pez-binary-merkle-tree = { workspace = true }
|
||||
bytes = { workspace = true }
|
||||
codec = { features = ["derive", "max-encoded-len"], workspace = true }
|
||||
docify = { workspace = true }
|
||||
@@ -34,6 +33,7 @@ impl-trait-for-tuples = { workspace = true }
|
||||
log = { workspace = true }
|
||||
num-traits = { workspace = true }
|
||||
paste = { workspace = true, default-features = true }
|
||||
pez-binary-merkle-tree = { workspace = true }
|
||||
pezsp-application-crypto = { workspace = true }
|
||||
pezsp-arithmetic = { workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
@@ -58,13 +58,13 @@ zstd = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pez-binary-merkle-tree/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 = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,4 +56,4 @@ std = [
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
]
|
||||
runtime-benchmarks = [ "pezsp-trie/runtime-benchmarks" ]
|
||||
runtime-benchmarks = ["pezsp-trie/runtime-benchmarks"]
|
||||
|
||||
@@ -42,7 +42,7 @@ x25519-dalek = { optional = true, features = [
|
||||
], workspace = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"aes-gcm",
|
||||
"aes-gcm?/std",
|
||||
|
||||
@@ -17,5 +17,5 @@ workspace = true
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = []
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -24,7 +24,7 @@ pezsp-runtime = { workspace = true }
|
||||
thiserror = { optional = true, workspace = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -47,7 +47,7 @@ trie-bench = { workspace = true }
|
||||
trie-standardmap = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"ahash",
|
||||
"codec/std",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user