Cargo Features
[dependencies]
mavryk-smart-rollup-entrypoint = { version = "0.2.2", default-features = false, features = ["std", "alloc", "panic-hook", "panic-hook-debug", "panic-hook-abort", "proto-alpha", "experimental-host-in-memory-store", "testing", "dlmalloc"] }
- default = alloc, dlmalloc, panic-hook, panic-hook-abort, panic-hook-debug, std
-
These default features are set whenever
mavryk-smart-rollup-entrypoint
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of mavryk-smart-rollup-host and mavryk-smart-rollup-panic-hook
mavryk-smart-rollup-host:
Required for 'impl Error for RuntimeError'
- alloc default
- panic-hook default panic-hook-abort panic-hook-debug = mavryk-smart-rollup-panic-hook
-
Affects
mavryk-smart-rollup-entrypoint::set_panic_hook
… - panic-hook-debug default = panic-hook
-
Enables mavryk-smart-rollup-debug, debug of mavryk-smart-rollup-panic-hook
- panic-hook-abort default = panic-hook
-
Enables abort of mavryk-smart-rollup-panic-hook
- proto-alpha
-
Enables proto-alpha of mavryk-smart-rollup-core, mavryk-smart-rollup-debug, and mavryk-smart-rollup-host
- experimental-host-in-memory-store = mavryk-smart-rollup-mock
- testing
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.