diff --git a/substrate/frame/nis/Cargo.toml b/substrate/frame/nis/Cargo.toml index 909cf03c563e..64f12dc24308 100644 --- a/substrate/frame/nis/Cargo.toml +++ b/substrate/frame/nis/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "pallet-nis" -version = "28.0.0" -authors.workspace = true -edition.workspace = true -license = "Apache-2.0" -homepage.workspace = true +authors.workspace = true +description = "FRAME pallet for rewarding account freezing." +edition.workspace = true +homepage.workspace = true +license = "Apache-2.0" +name = "pallet-nis" +readme = "README.md" repository.workspace = true -description = "FRAME pallet for rewarding account freezing." -readme = "README.md" +version = "28.0.0" [lints] workspace = true @@ -16,25 +16,25 @@ workspace = true targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { features = ["derive"], workspace = true } +codec = { features = ["derive"], workspace = true } +frame = { workspace = true, features = ["runtime"] } scale-info = { features = ["derive"], workspace = true } -frame = { workspace = true, features = ["experimental", "runtime"] } [dev-dependencies] pallet-balances = { workspace = true, default-features = true } -sp-io = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } [features] default = ["std"] +runtime-benchmarks = [ + "frame/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", +] std = [ "codec/std", "frame/std", "scale-info/std", ] -runtime-benchmarks = [ - "frame/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", -] try-runtime = [ "frame/try-runtime", "pallet-balances/try-runtime", diff --git a/substrate/frame/src/lib.rs b/substrate/frame/src/lib.rs index d6db1c4330ce..869a7cdf68b4 100644 --- a/substrate/frame/src/lib.rs +++ b/substrate/frame/src/lib.rs @@ -546,10 +546,7 @@ pub mod arithmetic { /// All token related types and traits. pub mod token { - pub use frame_support::traits::{ - tokens::*, - OnUnbalanced, - }; + pub use frame_support::traits::{tokens::*, OnUnbalanced}; } /// All derive macros used in frame.