Cargo Features
[dependencies]
mavryk-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
mavryk-smart-rollup-host
is added without
somewhere in the dependency tree.default-features = false - alloc default = mavryk_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? = mavryk_crypto_rs
- proto-nairobi
-
Enables proto-nairobi of mavryk-smart-rollup-core
- proto-alpha
-
Enables proto-alpha of mavryk-smart-rollup-core
Affects
runtime::Runtime.reveal_dal_parameters
,runtime::Runtime.reveal_dal_page
… - testing = crypto, mockall
-
Enables testing of mavryk-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.
- mavryk_crypto_rs crypto
-
Enables mavryk_crypto_rs =0.5.2
- mavryk_data_encoding alloc
-
Enables mavryk_data_encoding =0.5.2
- mockall testing?
-
Enables mockall ^0.11.0
- thiserror alloc