Files
pezkuwi-sdk/bizinikiwi/utils/wasm-builder/Cargo.toml
T
pezkuwichain bfc2cc5284 chore: update documentation URLs to use workspace setting
Replace all docs.rs documentation URLs with documentation.workspace = true
to inherit from the workspace's docs.pezkuwichain.io URL.
2025-12-27 17:56:39 +03:00

72 lines
2.4 KiB
TOML

[package]
name = "bizinikiwi-wasm-builder"
version = "17.0.0"
authors.workspace = true
description = "Utility for building WASM binaries"
edition.workspace = true
repository.workspace = true
license = "Apache-2.0"
homepage.workspace = true
documentation.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
build-helper = { workspace = true }
cargo_metadata = { workspace = true }
console = { workspace = true }
filetime = { workspace = true }
jobserver = { workspace = true }
parity-wasm = { workspace = true }
pezsp-maybe-compressed-blob = { workspace = true, default-features = true }
polkavm-linker = { workspace = true }
strum = { features = ["derive"], workspace = true, default-features = true }
tempfile = { workspace = true }
toml = { workspace = true }
walkdir = { workspace = true }
wasm-opt = { workspace = true }
# Dependencies required for the `metadata-hash` feature.
array-bytes = { optional = true, workspace = true, default-features = true }
codec = { optional = true, workspace = true, default-features = true }
frame-metadata = { features = [
"current",
"unstable",
], optional = true, workspace = true, default-features = true }
merkleized-metadata = { optional = true, workspace = true }
pezsc-executor = { optional = true, workspace = true, default-features = true }
pezsp-core = { optional = true, workspace = true, default-features = true }
pezsp-io = { optional = true, workspace = true, default-features = true }
pezsp-tracing = { optional = true, workspace = true, default-features = true }
pezsp-version = { optional = true, workspace = true, default-features = true }
shlex = { workspace = true }
[features]
# Enable support for generating the metadata hash.
#
# To generate the metadata hash the runtime is build once, executed to build the metadata and then
# build a second time with the `RUNTIME_METADATA_HASH` environment variable set. The environment
# variable then contains the hash and can be used inside the runtime.
#
# This pulls in quite a lot of dependencies and thus, is disabled by default.
metadata-hash = [
"array-bytes",
"codec",
"frame-metadata",
"merkleized-metadata",
"pezsc-executor",
"pezsp-core",
"pezsp-io",
"pezsp-tracing",
"pezsp-version",
]
runtime-benchmarks = [
"pezsc-executor?/runtime-benchmarks",
"pezsp-io?/runtime-benchmarks",
"pezsp-version?/runtime-benchmarks",
]