sp-debug-derive: Add `force-debug` feature (#9996)
* sp-debug-derive: Add `force-debug` feature Sometimes users want to have proper debug information even inside the wasm runtime, when they use `RuntimeDebug`. To not fork Substrate to change a type to a normal `Debug` derive, this pr introduces the `force-debug` feature. This feature can be enabled by the user in their runtime and then the types will use the normal Debug derive instead of printing `wasm:stripped`. * Fixes
Showing
- substrate/primitives/core/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/core/Cargo.toml
- substrate/primitives/debug-derive/Cargo.toml 6 additions, 0 deletionssubstrate/primitives/debug-derive/Cargo.toml
- substrate/primitives/debug-derive/src/impls.rs 2 additions, 2 deletionssubstrate/primitives/debug-derive/src/impls.rs
- substrate/primitives/storage/Cargo.toml 2 additions, 2 deletionssubstrate/primitives/storage/Cargo.toml
Please register or sign in to comment