|
| 1 | +[package] |
| 2 | +name = "pallet-fast-unstake" |
| 3 | +version = "4.0.0-dev" |
| 4 | +authors = [ "Parity Technologies <[email protected]>"] |
| 5 | +edition = "2021" |
| 6 | +license = "Unlicense" |
| 7 | +homepage = "https://substrate.io" |
| 8 | +repository = "https://github.com/paritytech/substrate/" |
| 9 | +description = "FRAME fast unstake pallet" |
| 10 | +readme = "README.md" |
| 11 | + |
| 12 | +[package.metadata.docs.rs] |
| 13 | +targets = ["x86_64-unknown-linux-gnu"] |
| 14 | + |
| 15 | +[dependencies] |
| 16 | +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } |
| 17 | +log = { version = "0.4.17", default-features = false } |
| 18 | +scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } |
| 19 | + |
| 20 | +frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" } |
| 21 | +frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" } |
| 22 | + |
| 23 | +sp-io = { version = "6.0.0", default-features = false, path = "../../primitives/io" } |
| 24 | +sp-runtime = { version = "6.0.0", default-features = false, path = "../../primitives/runtime" } |
| 25 | +sp-std = { version = "4.0.0", default-features = false, path = "../../primitives/std" } |
| 26 | +sp-staking = { default-features = false, path = "../../primitives/staking" } |
| 27 | + |
| 28 | +pallet-balances = { default-features = false, path = "../balances" } |
| 29 | +pallet-timestamp = { default-features = false, path = "../timestamp" } |
| 30 | +pallet-staking = { default-features = false, path = "../staking" } |
| 31 | +pallet-nomination-pools = { default-features = false, path = "../nomination-pools" } |
| 32 | +frame-election-provider-support = { default-features = false, path = "../election-provider-support" } |
| 33 | + |
| 34 | +frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../benchmarking" } |
| 35 | + |
| 36 | +[dev-dependencies] |
| 37 | +pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward-curve" } |
| 38 | +sp-core = { version = "6.0.0", default-features = false, path = "../../primitives/core" } |
| 39 | +substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" } |
| 40 | +sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" } |
| 41 | + |
| 42 | +[features] |
| 43 | +default = ["std"] |
| 44 | +std = [ |
| 45 | + "codec/std", |
| 46 | + "log/std", |
| 47 | + "scale-info/std", |
| 48 | + |
| 49 | + "frame-support/std", |
| 50 | + "frame-system/std", |
| 51 | + |
| 52 | + "sp-io/std", |
| 53 | + "sp-staking/std", |
| 54 | + "sp-runtime/std", |
| 55 | + "sp-std/std", |
| 56 | + |
| 57 | + "pallet-staking/std", |
| 58 | + "pallet-nomination-pools/std", |
| 59 | + "pallet-balances/std", |
| 60 | + "pallet-timestamp/std", |
| 61 | + "frame-election-provider-support/std", |
| 62 | + |
| 63 | + "frame-benchmarking/std", |
| 64 | +] |
| 65 | +runtime-benchmarks = [ |
| 66 | + "frame-benchmarking/runtime-benchmarks", |
| 67 | + "frame-system/runtime-benchmarks", |
| 68 | + "pallet-staking/runtime-benchmarks", |
| 69 | +] |
| 70 | +try-runtime = ["frame-support/try-runtime"] |
0 commit comments