Cargo Features

[dependencies]
rusk-abi = { version = "0.13.0-rc.0", default-features = false, features = ["abi", "debug", "dlmalloc", "host", "host_debug"] }
default = abi, dlmalloc

By default, we include the contract writing features.

abi default debug?

These are the features available for when one wishes to use rusk-abi as a contract.

Enables abi of piecrust-uplink ^0.11

Affects abi::hash, abi::poseidon_hash, abi::verify_proof, abi::verify_schnorr, abi::verify_bls, abi::block_height, abi::payment_info

debug = abi

Enables debug of piecrust-uplink ^0.11

dlmalloc default

Enables dlmalloc of piecrust-uplink ^0.11

host = piecrust

These are the features available for when one wishes to use rusk-abi as a host.

host_debug

Enables debug of piecrust ^0.18

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

piecrust host? host_debug?

Enables piecrust ^0.18