Cargo Features

[dependencies]
tezos-smart-rollup-host = { version = "0.2.2", default-features = false, features = ["alloc", "crypto", "proto-nairobi", "proto-alpha", "testing", "std"] }
default = alloc, crypto, std

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

alloc default = tezos_data_encoding, thiserror

Affects runtime::Runtime.read_input, runtime::Runtime.store_read, runtime::Runtime.store_read_all, runtime::Runtime.runtime_version, runtime::Runtime.reveal_dal_page

crypto default testing? = tezos_crypto_rs
proto-nairobi

Enables proto-nairobi of tezos-smart-rollup-core

proto-alpha

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

Affects runtime::Runtime.reveal_dal_parameters, runtime::Runtime.reveal_dal_page

testing = crypto, mockall

Enables testing of tezos-smart-rollup-core

std default

Required for 'impl Error for RuntimeError'

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.

mockall testing?

Enables mockall ^0.11.0

tezos_crypto_rs crypto

Enables tezos_crypto_rs =0.5.2

tezos_data_encoding alloc

Enables tezos_data_encoding =0.5.2

thiserror alloc

Enables thiserror ^1.0