Cargo Features
[dependencies]
sp-debug-derive = { version = "14.0.0", default-features = false, features = ["std", "force-debug"] }
- default = std
-
The
std
feature is set by default wheneversp-debug-derive
is added without
somewhere in the dependency tree.default-features = false - std default
- force-debug
-
By default
RuntimeDebug
implementsDebug
that outputs<wasm:stripped>
whenstd
is disabled. However, sometimes downstream users need to have the realDebug
implementation for debugging purposes. If this is required, a user only needs to add this crate as a dependency of their runtime and enable theforce-debug
feature.