Cargo Features

[dependencies]
tezos-smart-rollup = { version = "0.2.2", default-features = false, features = ["std", "alloc", "crypto", "bls", "debug_alloc", "dlmalloc", "panic-hook", "data-encoding", "storage", "proto-nairobi", "proto-alpha", "testing", "proto-alpha-no-mock"] }
default = bls, crypto, data-encoding, dlmalloc, panic-hook, std, storage

These default features are set whenever tezos-smart-rollup is added without default-features = false somewhere in the dependency tree.

std default = alloc, debug_alloc

Enables std of tezos-smart-rollup-entrypoint

alloc std

Enables alloc of tezos-smart-rollup-entrypoint

Affects tezos-smart-rollup::types

crypto default testing? = tezos_crypto_rs
bls default

Enables bls of tezos-smart-rollup-encoding

debug_alloc std

Enables alloc of tezos-smart-rollup-debug

dlmalloc default

Enables dlmalloc of tezos-smart-rollup-entrypoint

panic-hook default

Enables tezos-smart-rollup-entrypoint

data-encoding default = tezos_data_encoding

Enables tezos-smart-rollup-encoding

storage default = tezos-smart-rollup-storage
proto-nairobi

Enables proto-nairobi of tezos-smart-rollup-core, tezos-smart-rollup-host, and tezos-smart-rollup-mock

proto-alpha = proto-alpha-no-mock

Enables proto-alpha of tezos-smart-rollup-mock

testing = crypto, tezos-smart-rollup-mock

Affects tezos-smart-rollup::testing

proto-alpha-no-mock proto-alpha?

TODO: remove proto-alpha-no-mock once mock can compile on RISC-V

Enables proto-alpha of tezos-smart-rollup-core and tezos-smart-rollup-host

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.

tezos-smart-rollup-storage storage
tezos_crypto_rs crypto
tezos_data_encoding data-encoding
tezos-smart-rollup-mock proto-alpha? proto-nairobi? testing?