snapshot before rebranding
This commit is contained in:
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Bizinikiwi runtime api primitives"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-api"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -38,22 +39,22 @@ pezsp-test-primitives = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"hash-db",
|
||||
"log/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api-proc-macro/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities",
|
||||
"pezsp-externalities?/std",
|
||||
"pezsp-metadata-ir?/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-test-primitives/std",
|
||||
"pezsp-trie/std",
|
||||
"pezsp-version/std",
|
||||
"thiserror",
|
||||
"codec/std",
|
||||
"hash-db",
|
||||
"log/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api-proc-macro/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities",
|
||||
"pezsp-externalities?/std",
|
||||
"pezsp-metadata-ir?/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-test-primitives/std",
|
||||
"pezsp-trie/std",
|
||||
"pezsp-version/std",
|
||||
"thiserror",
|
||||
]
|
||||
# Special feature to disable logging completely.
|
||||
#
|
||||
@@ -67,10 +68,10 @@ disable-logging = ["log/max_level_off"]
|
||||
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",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-test-primitives/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-test-primitives/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -26,11 +26,11 @@ proc-macro-crate = { workspace = true }
|
||||
proc-macro2 = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
syn = { features = [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit",
|
||||
"visit-mut",
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit",
|
||||
"visit-mut",
|
||||
], workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -28,7 +28,7 @@ use syn::{
|
||||
|
||||
/// Generates the access to the `pezsc_client` crate.
|
||||
pub fn generate_crate_access() -> TokenStream {
|
||||
match crate_name("sp-api") {
|
||||
match crate_name("pezsp-api") {
|
||||
Ok(FoundCrate::Itself) => quote!(pezsp_api::__private),
|
||||
Ok(FoundCrate::Name(renamed_name)) => {
|
||||
let renamed_name = Ident::new(&renamed_name, Span::call_site());
|
||||
|
||||
@@ -7,6 +7,8 @@ license = "Apache-2.0"
|
||||
publish = false
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Pezkuwi SDK primitive: api test"
|
||||
documentation = "https://docs.rs/pezsp-api-test"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -45,11 +47,11 @@ static_assertions = { workspace = true, default-features = true }
|
||||
enable-pezstaging-api = []
|
||||
disable-ui-tests = []
|
||||
runtime-benchmarks = [
|
||||
"pezsc-block-builder/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezsc-block-builder/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -26,12 +26,12 @@ pezsp-io = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"full_crypto",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"codec/std",
|
||||
"full_crypto",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
@@ -41,11 +41,11 @@ serde = ["dep:serde", "scale-info/serde", "pezsp-core/serde"]
|
||||
# or Intel SGX.
|
||||
# For the regular wasm runtime builds this should not be used.
|
||||
full_crypto = [
|
||||
"pezsp-core/full_crypto",
|
||||
"pezsp-io/disable_oom",
|
||||
# Don't add `panic_handler` and `alloc_error_handler` since they are expected to be provided
|
||||
# by the user anyway.
|
||||
"pezsp-io/disable_panic_handler",
|
||||
"pezsp-core/full_crypto",
|
||||
"pezsp-io/disable_oom",
|
||||
# Don't add `panic_handler` and `alloc_error_handler` since they are expected to be provided
|
||||
# by the user anyway.
|
||||
"pezsp-io/disable_panic_handler",
|
||||
]
|
||||
|
||||
# This feature adds BLS crypto primitives.
|
||||
@@ -57,6 +57,6 @@ bls-experimental = ["pezsp-core/bls-experimental", "pezsp-io/bls-experimental"]
|
||||
# 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",
|
||||
"pezsp-io/bandersnatch-experimental",
|
||||
"pezsp-core/bandersnatch-experimental",
|
||||
"pezsp-io/bandersnatch-experimental",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
publish = false
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/pezsp-application-crypto-test"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,6 +27,6 @@ bizinikiwi-test-runtime-client = { workspace = true }
|
||||
[features]
|
||||
bls-experimental = ["bizinikiwi-test-runtime-client/bls-experimental"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -38,11 +38,11 @@ pezsp-crypto-hashing = { workspace = true, default-features = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"num-traits/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"codec/std",
|
||||
"num-traits/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
]
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "scale-info/serde"]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-authority-discovery"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -25,14 +26,18 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
serde = [
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
serde = ["scale-info/serde", "pezsp-application-crypto/serde", "pezsp-runtime/serde"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "The block builder runtime api."
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-block-builder"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -24,7 +25,7 @@ pezsp-runtime = { workspace = true }
|
||||
default = ["std"]
|
||||
std = ["pezsp-api/std", "pezsp-inherents/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -32,8 +32,8 @@ tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-consensus-aura"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -29,28 +30,28 @@ pezsp-timestamp = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-timestamp/std",
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-timestamp/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-consensus-babe"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -31,32 +32,32 @@ pezsp-timestamp = { optional = true, workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-timestamp/std",
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-timestamp/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp?/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -7,6 +7,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Primitives for BEEFY protocol."
|
||||
documentation = "https://docs.rs/pezsp-consensus-beefy"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -36,39 +37,39 @@ w3f-bls = { features = ["std"], workspace = true, default-features = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-mmr-primitives/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-weights/std",
|
||||
"strum/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-mmr-primitives/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-weights/std",
|
||||
"strum/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
|
||||
# This feature adds BLS crypto primitives. It should not be used in production since
|
||||
# the BLS implementation and interface may still be subject to significant change.
|
||||
bls-experimental = [
|
||||
"pezsp-application-crypto/bls-experimental",
|
||||
"pezsp-core/bls-experimental",
|
||||
"pezsp-application-crypto/bls-experimental",
|
||||
"pezsp-core/bls-experimental",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-mmr-primitives/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-mmr-primitives/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -31,7 +31,7 @@ futures = { workspace = true }
|
||||
[features]
|
||||
default = []
|
||||
runtime-benchmarks = [
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -31,27 +31,27 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"finality-grandpa/std",
|
||||
"log/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"finality-grandpa/std",
|
||||
"log/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-consensus-pow"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -25,6 +26,6 @@ pezsp-runtime = { workspace = true }
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -26,7 +26,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { features = ["derive"], optional = true, workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
pezsp-application-crypto = { features = [
|
||||
"bandersnatch-experimental",
|
||||
"bandersnatch-experimental",
|
||||
], workspace = true }
|
||||
pezsp-consensus-slots = { workspace = true }
|
||||
pezsp-core = { features = ["bandersnatch-experimental"], workspace = true }
|
||||
@@ -35,27 +35,27 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-consensus-slots"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -38,7 +38,7 @@ parking_lot = { optional = true, workspace = true, default-features = true }
|
||||
paste = { workspace = true, default-features = true }
|
||||
primitive-types = { features = ["codec", "scale-info"], workspace = true }
|
||||
rand = { features = [
|
||||
"small_rng",
|
||||
"small_rng",
|
||||
], optional = true, workspace = true, default-features = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
secrecy = { features = ["alloc"], workspace = true }
|
||||
@@ -65,8 +65,8 @@ pezsp-crypto-hashing = { workspace = true }
|
||||
k256 = { features = ["alloc", "ecdsa"], workspace = true }
|
||||
# secp256k1 crate, better performance, intended to be used on host side (std)
|
||||
secp256k1 = { features = [
|
||||
"alloc",
|
||||
"recovery",
|
||||
"alloc",
|
||||
"recovery",
|
||||
], optional = true, workspace = true }
|
||||
|
||||
# bls crypto
|
||||
@@ -75,8 +75,8 @@ w3f-bls = { optional = true, workspace = true }
|
||||
|
||||
# bandersnatch crypto
|
||||
ark-vrf = { optional = true, workspace = true, features = [
|
||||
"bandersnatch",
|
||||
"ring",
|
||||
"bandersnatch",
|
||||
"ring",
|
||||
] }
|
||||
|
||||
[target.'cfg(not(bizinikiwi_runtime))'.dependencies]
|
||||
@@ -92,62 +92,62 @@ serde_json = { workspace = true, default-features = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"ark-vrf?/std",
|
||||
"bip39/rand",
|
||||
"bip39/std",
|
||||
"blake2/std",
|
||||
"bounded-collections/std",
|
||||
"bs58/std",
|
||||
"codec/std",
|
||||
"ed25519-zebra/std",
|
||||
"full_crypto",
|
||||
"futures/std",
|
||||
"futures/thread-pool",
|
||||
"hash-db/std",
|
||||
"hash256-std-hasher/std",
|
||||
"impl-serde/std",
|
||||
"itertools",
|
||||
"k256/std",
|
||||
"libsecp256k1/std",
|
||||
"log/std",
|
||||
"merlin/std",
|
||||
"parking_lot",
|
||||
"primitive-types/byteorder",
|
||||
"primitive-types/rustc-hex",
|
||||
"primitive-types/serde",
|
||||
"primitive-types/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"schnorrkel/std",
|
||||
"secp256k1/global-context",
|
||||
"secp256k1/std",
|
||||
"serde/std",
|
||||
"sha2?/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-debug-derive/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"ss58-registry/std",
|
||||
"bizinikiwi-bip39/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"w3f-bls?/std",
|
||||
"zeroize/alloc",
|
||||
"zeroize/std",
|
||||
"ark-vrf?/std",
|
||||
"bip39/rand",
|
||||
"bip39/std",
|
||||
"blake2/std",
|
||||
"bounded-collections/std",
|
||||
"bs58/std",
|
||||
"codec/std",
|
||||
"ed25519-zebra/std",
|
||||
"full_crypto",
|
||||
"futures/std",
|
||||
"futures/thread-pool",
|
||||
"hash-db/std",
|
||||
"hash256-std-hasher/std",
|
||||
"impl-serde/std",
|
||||
"itertools",
|
||||
"k256/std",
|
||||
"libsecp256k1/std",
|
||||
"log/std",
|
||||
"merlin/std",
|
||||
"parking_lot",
|
||||
"primitive-types/byteorder",
|
||||
"primitive-types/rustc-hex",
|
||||
"primitive-types/serde",
|
||||
"primitive-types/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"schnorrkel/std",
|
||||
"secp256k1/global-context",
|
||||
"secp256k1/std",
|
||||
"serde/std",
|
||||
"sha2?/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-debug-derive/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"ss58-registry/std",
|
||||
"bizinikiwi-bip39/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"w3f-bls?/std",
|
||||
"zeroize/alloc",
|
||||
"zeroize/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"blake2",
|
||||
"bounded-collections/serde",
|
||||
"bs58/alloc",
|
||||
"dep:serde",
|
||||
"impl-serde",
|
||||
"k256/serde",
|
||||
"primitive-types/serde_no_std",
|
||||
"scale-info/serde",
|
||||
"pezsp-storage/serde",
|
||||
"blake2",
|
||||
"bounded-collections/serde",
|
||||
"bs58/alloc",
|
||||
"dep:serde",
|
||||
"impl-serde",
|
||||
"k256/serde",
|
||||
"primitive-types/serde_no_std",
|
||||
"scale-info/serde",
|
||||
"pezsp-storage/serde",
|
||||
]
|
||||
|
||||
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
|
||||
|
||||
@@ -3,6 +3,12 @@ name = "pezsp-core-fuzz"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition.workspace = true
|
||||
description = "Pezkuwi SDK primitive: core fuzz"
|
||||
documentation = "https://docs.rs/pezsp-core-fuzz"
|
||||
repository = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
authors = { workspace = true }
|
||||
license = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -389,7 +389,7 @@ fn ss58hash(data: &[u8]) -> Vec<u8> {
|
||||
/// Default prefix number
|
||||
#[cfg(feature = "serde")]
|
||||
static DEFAULT_VERSION: core::sync::atomic::AtomicU16 = core::sync::atomic::AtomicU16::new(
|
||||
from_known_address_format(Ss58AddressFormatRegistry::BizinikiwiAccount),
|
||||
from_known_address_format(Ss58AddressFormatRegistry::PezkuwichainAccount),
|
||||
);
|
||||
|
||||
/// Returns default SS58 format used by the current active process.
|
||||
|
||||
@@ -7,6 +7,7 @@ edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/pezsp-crypto-ec-utils"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -32,20 +33,20 @@ pezsp-runtime-interface = { optional = true, workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"ark-bls12-377-ext?/std",
|
||||
"ark-bls12-377?/std",
|
||||
"ark-bls12-381-ext?/std",
|
||||
"ark-bls12-381?/std",
|
||||
"ark-bw6-761-ext?/std",
|
||||
"ark-bw6-761?/std",
|
||||
"ark-ec?/parallel",
|
||||
"ark-ec?/std",
|
||||
"ark-ed-on-bls12-377-ext?/std",
|
||||
"ark-ed-on-bls12-377?/std",
|
||||
"ark-ed-on-bls12-381-bandersnatch-ext?/std",
|
||||
"ark-ed-on-bls12-381-bandersnatch?/std",
|
||||
"ark-scale?/std",
|
||||
"pezsp-runtime-interface?/std",
|
||||
"ark-bls12-377-ext?/std",
|
||||
"ark-bls12-377?/std",
|
||||
"ark-bls12-381-ext?/std",
|
||||
"ark-bls12-381?/std",
|
||||
"ark-bw6-761-ext?/std",
|
||||
"ark-bw6-761?/std",
|
||||
"ark-ec?/parallel",
|
||||
"ark-ec?/std",
|
||||
"ark-ed-on-bls12-377-ext?/std",
|
||||
"ark-ed-on-bls12-377?/std",
|
||||
"ark-ed-on-bls12-381-bandersnatch-ext?/std",
|
||||
"ark-ed-on-bls12-381-bandersnatch?/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"]
|
||||
@@ -53,14 +54,14 @@ 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",
|
||||
"common",
|
||||
"ark-ed-on-bls12-381-bandersnatch",
|
||||
"ark-ed-on-bls12-381-bandersnatch-ext",
|
||||
"common",
|
||||
]
|
||||
all-curves = [
|
||||
"bls12-377",
|
||||
"bls12-381",
|
||||
"bw6-761",
|
||||
"ed-on-bls12-377",
|
||||
"ed-on-bls12-381-bandersnatch",
|
||||
"bls12-377",
|
||||
"bls12-381",
|
||||
"bw6-761",
|
||||
"ed-on-bls12-377",
|
||||
"ed-on-bls12-381-bandersnatch",
|
||||
]
|
||||
|
||||
@@ -37,10 +37,10 @@ pezsp-crypto-hashing-proc-macro = { workspace = true, default-features = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"blake2b_simd/std",
|
||||
"byteorder/std",
|
||||
"digest/std",
|
||||
"sha2/std",
|
||||
"sha3/std",
|
||||
"twox-hash/std",
|
||||
"blake2b_simd/std",
|
||||
"byteorder/std",
|
||||
"digest/std",
|
||||
"sha2/std",
|
||||
"sha3/std",
|
||||
"twox-hash/std",
|
||||
]
|
||||
|
||||
@@ -7,6 +7,7 @@ description = "Interfaces for Ethereum standards"
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/ethereum-standards"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Bizinikiwi RuntimeGenesisConfig builder API"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-genesis-builder"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,13 +27,13 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde_json/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde_json/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -30,10 +30,10 @@ futures = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime?/runtime-benchmarks"]
|
||||
|
||||
@@ -21,8 +21,8 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
bytes = { workspace = true }
|
||||
codec = { features = ["bytes"], workspace = true }
|
||||
secp256k1 = { features = [
|
||||
"global-context",
|
||||
"recovery",
|
||||
"global-context",
|
||||
"recovery",
|
||||
], optional = true, workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true }
|
||||
pezsp-crypto-hashing = { workspace = true }
|
||||
@@ -41,11 +41,11 @@ pezsp-trie = { workspace = true, default-features = false }
|
||||
pezsp-state-machine = { workspace = true, default-features = false }
|
||||
log = { workspace = true, default-features = true }
|
||||
libsecp256k1 = { workspace = true, default-features = false, features = [
|
||||
"static-context",
|
||||
"static-context",
|
||||
] }
|
||||
secp256k1 = { workspace = true, default-features = false, features = [
|
||||
"alloc",
|
||||
"recovery",
|
||||
"alloc",
|
||||
"recovery",
|
||||
] }
|
||||
|
||||
# Required for backwards compatibility reason, but only used for verifying when `UseDalekExt` is set.
|
||||
@@ -62,23 +62,23 @@ rustversion = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"ed25519-dalek/std",
|
||||
"libsecp256k1/std",
|
||||
"log/std",
|
||||
"secp256k1/global-context",
|
||||
"secp256k1/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-trie/std",
|
||||
"tracing-core/std",
|
||||
"tracing/std",
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"ed25519-dalek/std",
|
||||
"libsecp256k1/std",
|
||||
"log/std",
|
||||
"secp256k1/global-context",
|
||||
"secp256k1/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-trie/std",
|
||||
"tracing-core/std",
|
||||
"tracing/std",
|
||||
]
|
||||
|
||||
with-tracing = ["pezsp-tracing/with-tracing"]
|
||||
@@ -113,17 +113,20 @@ improved_panic_error_reporting = []
|
||||
# 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-keystore/bls-experimental"]
|
||||
bls-experimental = [
|
||||
"pezsp-core/bls-experimental",
|
||||
"pezsp-keystore/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",
|
||||
"pezsp-keystore/bandersnatch-experimental",
|
||||
"pezsp-core/bandersnatch-experimental",
|
||||
"pezsp-keystore/bandersnatch-experimental",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -23,7 +23,12 @@ pezsp-externalities = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "dep:parking_lot", "pezsp-core/std", "pezsp-externalities/std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"dep:parking_lot",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
]
|
||||
|
||||
# This feature adds BLS crypto primitives.
|
||||
# It should not be used in production since the implementation and interface may still
|
||||
|
||||
@@ -7,6 +7,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Merkle Mountain Range primitives."
|
||||
documentation = "https://docs.rs/pezsp-mmr-primitives"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -32,21 +33,26 @@ array-bytes = { workspace = true, default-features = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"dep:thiserror",
|
||||
"log/std",
|
||||
"mmr-lib/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-debug-derive/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"dep:thiserror",
|
||||
"log/std",
|
||||
"mmr-lib/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-debug-derive/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "scale-info/serde", "pezsp-core/serde", "pezsp-runtime/serde"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -4,13 +4,14 @@ name = "pezsp-mixnet"
|
||||
version = "0.4.0"
|
||||
license = "Apache-2.0"
|
||||
authors = [
|
||||
"Kurdistan Tech Institute <info@pezkuwichain.io>",
|
||||
"Parity Technologies <admin@parity.io>",
|
||||
"Kurdistan Tech Institute <info@pezkuwichain.io>",
|
||||
"Parity Technologies <admin@parity.io>",
|
||||
]
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-mixnet"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,5 +27,10 @@ pezsp-application-crypto = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "scale-info/std", "pezsp-api/std", "pezsp-application-crypto/std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-api/runtime-benchmarks"]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "NPoS election algorithm primitives"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-npos-elections"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -30,20 +31,20 @@ bizinikiwi-test-utils = { workspace = true }
|
||||
default = ["std"]
|
||||
bench = []
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -36,14 +36,14 @@ path = "src/phragmen_pjr.rs"
|
||||
clap = { features = ["derive"], workspace = true }
|
||||
honggfuzz = { workspace = true }
|
||||
rand = { features = [
|
||||
"small_rng",
|
||||
"std",
|
||||
"small_rng",
|
||||
"std",
|
||||
], workspace = true, default-features = true }
|
||||
pezsp-npos-elections = { workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-npos-elections/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-npos-elections/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ edition.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-offchain"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -24,6 +25,6 @@ pezsp-runtime = { workspace = true }
|
||||
default = ["std"]
|
||||
std = ["pezsp-api/std", "pezsp-core/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Bizinikiwi RPC primitives and utilities."
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-rpc"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -41,16 +41,16 @@ trybuild = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface-test-wasm/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-wasm-interface/std",
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface-test-wasm/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-storage/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-wasm-interface/std",
|
||||
]
|
||||
|
||||
# ATTENTION
|
||||
@@ -61,6 +61,6 @@ std = [
|
||||
# check is changed into a runtime check.
|
||||
disable_target_static_assertions = []
|
||||
runtime-benchmarks = [
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -162,7 +162,7 @@ impl RuntimeInterface {
|
||||
|
||||
/// Generates the include for the runtime-interface crate.
|
||||
pub fn generate_runtime_interface_include() -> TokenStream {
|
||||
match crate_name("sp-runtime-interface") {
|
||||
match crate_name("pezsp-runtime-interface") {
|
||||
Ok(FoundCrate::Itself) => quote!(),
|
||||
Ok(FoundCrate::Name(crate_name)) => {
|
||||
let crate_name = Ident::new(&crate_name, Span::call_site());
|
||||
@@ -178,9 +178,9 @@ pub fn generate_runtime_interface_include() -> TokenStream {
|
||||
}
|
||||
}
|
||||
|
||||
/// Generates the access to the `sp-runtime-interface` crate.
|
||||
/// Generates the access to the `pezsp-runtime-interface` crate.
|
||||
pub fn generate_crate_access() -> TokenStream {
|
||||
if env::var("CARGO_PKG_NAME").unwrap() == "sp-runtime-interface" {
|
||||
if env::var("CARGO_PKG_NAME").unwrap() == "pezsp-runtime-interface" {
|
||||
quote!(pezsp_runtime_interface)
|
||||
} else {
|
||||
quote!(proc_macro_runtime_interface)
|
||||
|
||||
@@ -8,6 +8,8 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
description = "Pezkuwi SDK primitive: runtime interface test wasm deprecated"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test-wasm-deprecated"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,8 +28,8 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,8 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
description = "Pezkuwi SDK primitive: runtime interface test wasm"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test-wasm"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -27,9 +29,9 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"bytes/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
]
|
||||
|
||||
@@ -7,6 +7,8 @@ license = "Apache-2.0"
|
||||
publish = false
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Pezkuwi SDK primitive: runtime interface test"
|
||||
documentation = "https://docs.rs/pezsp-runtime-interface-test"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -28,9 +30,9 @@ tracing-core = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -53,48 +53,48 @@ zstd = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"binary-merkle-tree/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"binary-merkle-tree/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = []
|
||||
default = ["std"]
|
||||
std = [
|
||||
"binary-merkle-tree/std",
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"either/std",
|
||||
"either/use_std",
|
||||
"hash256-std-hasher/std",
|
||||
"log/std",
|
||||
"num-traits/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"simple-mermaid",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-trie/std",
|
||||
"pezsp-weights/std",
|
||||
"tracing/std",
|
||||
"tuplex/std",
|
||||
"binary-merkle-tree/std",
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"either/std",
|
||||
"either/use_std",
|
||||
"hash256-std-hasher/std",
|
||||
"log/std",
|
||||
"num-traits/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"simple-mermaid",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-tracing/std",
|
||||
"pezsp-trie/std",
|
||||
"pezsp-weights/std",
|
||||
"tracing/std",
|
||||
"tuplex/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-weights/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-weights/serde",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Primitives for sessions"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-session"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -27,16 +28,16 @@ pezsp-staking = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-staking/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-staking/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime?/runtime-benchmarks",
|
||||
"pezsp-staking/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime?/runtime-benchmarks",
|
||||
"pezsp-staking/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "A crate which contains primitives that are useful for implementation that uses staking approaches in general. Definitions related to sessions, slashing, etc go here."
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-staking"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -27,10 +28,10 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -44,21 +44,21 @@ pezsp-runtime = { workspace = true, default-features = true }
|
||||
default = ["std"]
|
||||
fuzzing = ["arbitrary"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"hash-db/std",
|
||||
"log/std",
|
||||
"parking_lot",
|
||||
"rand",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-panic-handler",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-trie/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
"codec/std",
|
||||
"hash-db/std",
|
||||
"log/std",
|
||||
"parking_lot",
|
||||
"rand",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-panic-handler",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-trie/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -4,6 +4,11 @@ version = "0.0.0"
|
||||
publish = false
|
||||
license = "Apache-2.0"
|
||||
edition = "2021"
|
||||
description = "Pezkuwi SDK primitive: state machine fuzz"
|
||||
documentation = "https://docs.rs/pezsp-state-machine-fuzz"
|
||||
repository = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
authors = { workspace = true }
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "A crate which contains primitives related to the statement store"
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-statement-store"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -33,44 +34,44 @@ curve25519-dalek = { optional = true, workspace = true }
|
||||
ed25519-dalek = { optional = true, workspace = true, default-features = true }
|
||||
hkdf = { optional = true, workspace = true }
|
||||
rand = { features = [
|
||||
"small_rng",
|
||||
"small_rng",
|
||||
], optional = true, workspace = true, default-features = true }
|
||||
sha2 = { optional = true, workspace = true, default-features = true }
|
||||
x25519-dalek = { optional = true, features = [
|
||||
"static_secrets",
|
||||
"static_secrets",
|
||||
], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"aes-gcm",
|
||||
"aes-gcm?/std",
|
||||
"codec/std",
|
||||
"curve25519-dalek",
|
||||
"ed25519-dalek",
|
||||
"hkdf",
|
||||
"hkdf?/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"sha2",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"x25519-dalek",
|
||||
"aes-gcm",
|
||||
"aes-gcm?/std",
|
||||
"codec/std",
|
||||
"curve25519-dalek",
|
||||
"ed25519-dalek",
|
||||
"hkdf",
|
||||
"hkdf?/std",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"sha2",
|
||||
"pezsp-api/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"x25519-dalek",
|
||||
]
|
||||
serde = [
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -7,6 +7,8 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
description = "Pezkuwi SDK primitive: test primitives"
|
||||
documentation = "https://docs.rs/pezsp-test-primitives"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -25,19 +27,19 @@ pezsp-runtime = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-runtime/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Bizinikiwi core types and inherents for timestamps."
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-timestamp"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -25,13 +26,13 @@ thiserror = { optional = true, workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Instrumentation primitives and macros for Bizinikiwi."
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-tracing"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -26,19 +27,19 @@ regex = { workspace = true, optional = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-core = { workspace = true }
|
||||
tracing-subscriber = { workspace = true, optional = true, features = [
|
||||
"env-filter",
|
||||
"time",
|
||||
"tracing-log",
|
||||
"env-filter",
|
||||
"time",
|
||||
"tracing-log",
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
with-tracing = ["codec/derive", "codec/full"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"regex",
|
||||
"tracing-core/std",
|
||||
"tracing-subscriber",
|
||||
"tracing/std",
|
||||
"with-tracing",
|
||||
"codec/std",
|
||||
"regex",
|
||||
"tracing-core/std",
|
||||
"tracing-subscriber",
|
||||
"tracing/std",
|
||||
"with-tracing",
|
||||
]
|
||||
|
||||
@@ -24,6 +24,6 @@ pezsp-runtime = { workspace = true }
|
||||
default = ["std"]
|
||||
std = ["pezsp-api/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/pezsp-transaction-storage-proof"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -27,16 +28,16 @@ pezsp-trie = { optional = true, workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-trie/std",
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-trie/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -50,23 +50,23 @@ trie-standardmap = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"ahash",
|
||||
"codec/std",
|
||||
"foldhash/std",
|
||||
"hash-db/std",
|
||||
"memory-db/std",
|
||||
"nohash-hasher",
|
||||
"parking_lot",
|
||||
"prometheus-endpoint",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"schnellru",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
"trie-root/std",
|
||||
"ahash",
|
||||
"codec/std",
|
||||
"foldhash/std",
|
||||
"hash-db/std",
|
||||
"memory-db/std",
|
||||
"nohash-hasher",
|
||||
"parking_lot",
|
||||
"prometheus-endpoint",
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"schnellru",
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-runtime/std",
|
||||
"thiserror",
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
"trie-root/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -31,19 +31,19 @@ thiserror = { optional = true, workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"impl-serde/std",
|
||||
"parity-wasm",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
"thiserror",
|
||||
"codec/std",
|
||||
"impl-serde/std",
|
||||
"parity-wasm",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "impl-serde", "pezsp-runtime/serde"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-version-proc-macro/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-version-proc-macro/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -28,12 +28,12 @@ pezsp-debug-derive = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bounded-collections/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-debug-derive/std",
|
||||
"bounded-collections/std",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-debug-derive/std",
|
||||
]
|
||||
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
|
||||
# more types in the metadata.
|
||||
@@ -41,10 +41,10 @@ full-metadata-docs = ["scale-info/docs"]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"bounded-collections/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"bounded-collections/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
]
|
||||
|
||||
json-schema = ["dep:schemars"]
|
||||
|
||||
Reference in New Issue
Block a user