bfc2cc5284
Replace all docs.rs documentation URLs with documentation.workspace = true to inherit from the workspace's docs.pezkuwichain.io URL.
133 lines
4.1 KiB
TOML
133 lines
4.1 KiB
TOML
[package]
|
|
name = "pezsp-io"
|
|
version = "30.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "I/O for Bizinikiwi runtimes"
|
|
documentation.workspace = true
|
|
readme = "README.md"
|
|
build = "build.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
bytes = { workspace = true }
|
|
codec = { features = ["bytes"], workspace = true }
|
|
pezsp-core = { workspace = true }
|
|
pezsp-crypto-hashing = { workspace = true }
|
|
pezsp-externalities = { workspace = true }
|
|
pezsp-keystore = { optional = true, workspace = true }
|
|
pezsp-runtime-interface = { workspace = true }
|
|
pezsp-state-machine = { optional = true, workspace = true }
|
|
pezsp-tracing = { workspace = true }
|
|
pezsp-trie = { optional = true, workspace = true }
|
|
secp256k1 = { features = [
|
|
"global-context",
|
|
"recovery",
|
|
], optional = true, workspace = true, default-features = true }
|
|
tracing = { workspace = true }
|
|
tracing-core = { workspace = true }
|
|
|
|
[target.'cfg(not(bizinikiwi_runtime))'.dependencies]
|
|
pezsp-keystore = { workspace = true, default-features = false }
|
|
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",
|
|
] }
|
|
secp256k1 = { workspace = true, default-features = false, features = [
|
|
"alloc",
|
|
"recovery",
|
|
] }
|
|
|
|
# Required for backwards compatibility reason, but only used for verifying when `UseDalekExt` is set.
|
|
ed25519-dalek = { workspace = true }
|
|
|
|
docify = { workspace = true }
|
|
|
|
[target.'cfg(all(any(target_arch = "riscv32", target_arch = "riscv64"), bizinikiwi_runtime))'.dependencies]
|
|
polkavm-derive = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
rustversion = { workspace = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"bytes/std",
|
|
"codec/std",
|
|
"ed25519-dalek/std",
|
|
"libsecp256k1/std",
|
|
"log/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",
|
|
"secp256k1/global-context",
|
|
"secp256k1/std",
|
|
"tracing-core/std",
|
|
"tracing/std",
|
|
]
|
|
|
|
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]`.
|
|
#
|
|
# For the regular wasm runtime builds those are not used.
|
|
disable_panic_handler = []
|
|
disable_oom = []
|
|
disable_allocator = []
|
|
|
|
# This feature flag controls the runtime's behavior when encountering
|
|
# a panic or when it runs out of memory, improving the diagnostics.
|
|
#
|
|
# When enabled the runtime will marshal the relevant error message
|
|
# to the host through the `PanicHandler::abort_on_panic` runtime interface.
|
|
# This gives the caller direct programmatic access to the error message.
|
|
#
|
|
# When disabled the error message will only be printed out in the
|
|
# logs, with the caller receiving a generic "wasm `unreachable` instruction executed"
|
|
# error message.
|
|
#
|
|
# This has no effect if both `disable_panic_handler` and `disable_oom`
|
|
# are enabled.
|
|
#
|
|
# WARNING: Enabling this feature flag requires the `PanicHandler::abort_on_panic`
|
|
# host function to be supported by the host. Do *not* enable it for your
|
|
# runtime without first upgrading your host client!
|
|
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",
|
|
]
|
|
|
|
# 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",
|
|
]
|
|
runtime-benchmarks = [
|
|
"pezsp-runtime-interface/runtime-benchmarks",
|
|
"pezsp-state-machine?/runtime-benchmarks",
|
|
"pezsp-trie?/runtime-benchmarks",
|
|
]
|