Hide benchmarks behind a feature flag (#5024)
* Hide benchmarks behind a feature flag * Propage attributes in impl_runtime_apis macro * Bump impl_version * Fillter cfg attributes * Hide more things under the feature * Fix set_block_number availability * Rename filter_attrs -> filter_cfg_attrs * Rename runtime_benchmarks to runtime-benchmarks
Showing
- substrate/bin/node/runtime/Cargo.toml 2 additions, 1 deletionsubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 2 additions, 1 deletionsubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/balances/Cargo.toml 2 additions, 1 deletionsubstrate/frame/balances/Cargo.toml
- substrate/frame/balances/src/lib.rs 1 addition, 0 deletionssubstrate/frame/balances/src/lib.rs
- substrate/frame/identity/Cargo.toml 2 additions, 1 deletionsubstrate/frame/identity/Cargo.toml
- substrate/frame/identity/src/lib.rs 1 addition, 0 deletionssubstrate/frame/identity/src/lib.rs
- substrate/frame/system/Cargo.toml 1 addition, 0 deletionssubstrate/frame/system/Cargo.toml
- substrate/frame/system/src/lib.rs 1 addition, 1 deletionsubstrate/frame/system/src/lib.rs
- substrate/frame/timestamp/Cargo.toml 3 additions, 2 deletionssubstrate/frame/timestamp/Cargo.toml
- substrate/frame/timestamp/src/lib.rs 1 addition, 0 deletionssubstrate/frame/timestamp/src/lib.rs
- substrate/primitives/api/proc-macro/src/impl_runtime_apis.rs 52 additions, 9 deletionssubstrate/primitives/api/proc-macro/src/impl_runtime_apis.rs
Please register or sign in to comment