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