[package]
edition = "2024"
name = "piecrust"
version = "0.32.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dusk's virtual machine for running WASM smart contracts."
readme = "README.md"
keywords = [
"virtual",
"machine",
"smart",
"contract",
"wasm",
]
categories = [
"wasm",
"no-std",
"cryptography::cryptocurrencies",
]
license = "MPL-2.0"
repository = "https://github.com/dusk-network/piecrust"
resolver = "2"
[features]
call-hook = []
debug = []
[lib]
name = "piecrust"
path = "src/lib.rs"
[[test]]
name = "box"
path = "tests/box.rs"
[[test]]
name = "call_hook"
path = "tests/call_hook.rs"
required-features = [
"call-hook",
"debug",
]
[[test]]
name = "callcenter"
path = "tests/callcenter.rs"
required-features = ["debug"]
[[test]]
name = "commit"
path = "tests/commit.rs"
required-features = ["debug"]
[[test]]
name = "counter"
path = "tests/counter.rs"
[[test]]
name = "counter_float"
path = "tests/counter_float.rs"
[[test]]
name = "crossover"
path = "tests/crossover.rs"
required-features = ["debug"]
[[test]]
name = "debugger"
path = "tests/debugger.rs"
required-features = ["debug"]
[[test]]
name = "deploy"
path = "tests/deploy.rs"
[[test]]
name = "deserialization"
path = "tests/deserialization.rs"
required-features = ["debug"]
[[test]]
name = "event_reverter"
path = "tests/event_reverter.rs"
required-features = ["debug"]
[[test]]
name = "eventer"
path = "tests/eventer.rs"
[[test]]
name = "everest"
path = "tests/everest.rs"
[[test]]
name = "feeder"
path = "tests/feeder.rs"
[[test]]
name = "fibonacci"
path = "tests/fibonacci.rs"
[[test]]
name = "growth"
path = "tests/growth.rs"
[[test]]
name = "host"
path = "tests/host.rs"
[[test]]
name = "initializer"
path = "tests/initializer.rs"
required-features = ["debug"]
[[test]]
name = "merkle"
path = "tests/merkle.rs"
required-features = ["debug"]
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "module"
path = "tests/module.rs"
[[test]]
name = "persistence"
path = "tests/persistence.rs"
[[test]]
name = "return_len"
path = "tests/return_len.rs"
[[test]]
name = "root"
path = "tests/root.rs"
[[test]]
name = "root_call_context"
path = "tests/root_call_context.rs"
[[test]]
name = "spender"
path = "tests/spender.rs"
required-features = ["debug"]
[[test]]
name = "stack"
path = "tests/stack.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
required-features = ["debug"]
[[test]]
name = "vector"
path = "tests/vector.rs"
[[bench]]
name = "stack"
path = "benches/stack.rs"
harness = false
[dependencies.blake3]
version = "1"
[dependencies.bytecheck]
version = "0.6"
[dependencies.const-decoder]
version = "0.3"
[dependencies.crumbles]
version = "0.4.0"
[dependencies.dusk-merkle]
version = "0.5"
features = ["rkyv-impl"]
[dependencies.dusk-wasmtime]
version = "21.0.0-alpha"
features = [
"cranelift",
"runtime",
"parallel-compilation",
"gc",
]
default-features = false
[dependencies.hex]
version = "0.4"
[dependencies.indexmap]
version = "=2.11"
[dependencies.memmap2]
version = "0.7"
[dependencies.piecrust-uplink]
version = "0.21.0"
[dependencies.rand]
version = "0.8"
[dependencies.rkyv]
version = "0.7"
features = [
"size_32",
"validation",
]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1.40"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.dusk-plonk]
version = "0.22.0-rc.0"
features = ["rkyv-impl"]
[dev-dependencies.half]
version = "2,<2.5"
[dev-dependencies.once_cell]
version = "1.18"