|
| 1 | +[package] |
| 2 | +name = "node-template-weights" |
| 3 | +version = "4.0.0-dev" |
| 4 | +authors = [ "Parity Technologies <[email protected]>"] |
| 5 | +edition = "2021" |
| 6 | +license = "Apache-2.0" |
| 7 | +homepage = "https://substrate.io" |
| 8 | +repository = "https://github.com/paritytech/substrate/" |
| 9 | +description = "Weights" |
| 10 | + |
| 11 | +[package.metadata.docs.rs] |
| 12 | +targets = ["x86_64-unknown-linux-gnu"] |
| 13 | + |
| 14 | +[dependencies] |
| 15 | +serde = { version = "1.0.136", optional = true, features = ["derive"] } |
| 16 | +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } |
| 17 | +scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } |
| 18 | +frame-metadata = { version = "15.0.0", default-features = false, features = ["v14"] } |
| 19 | +sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" } |
| 20 | +sp-io = { version = "6.0.0", default-features = false, path = "../../../primitives/io" } |
| 21 | +sp-runtime = { version = "6.0.0", default-features = false, path = "../../../primitives/runtime" } |
| 22 | +sp-tracing = { version = "5.0.0", default-features = false, path = "../../../primitives/tracing" } |
| 23 | +sp-core = { version = "6.0.0", default-features = false, path = "../../../primitives/core" } |
| 24 | +sp-arithmetic = { version = "5.0.0", default-features = false, path = "../../../primitives/arithmetic" } |
| 25 | +sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/inherents" } |
| 26 | +sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/staking" } |
| 27 | +tt-call = "1.0.8" |
| 28 | +frame-support-procedural = { version = "4.0.0-dev", default-features = false, path = "../../../frame/support/procedural" } |
| 29 | +frame-support = { version = "4.0.0-dev", default-features = false, path = "../../../frame/support" } |
| 30 | +paste = "1.0" |
| 31 | +once_cell = { version = "1", default-features = false, optional = true } |
| 32 | +sp-state-machine = { version = "0.12.0", optional = true, path = "../../../primitives/state-machine" } |
| 33 | +bitflags = "1.3" |
| 34 | +impl-trait-for-tuples = "0.2.1" |
| 35 | +smallvec = "1.8.0" |
| 36 | +log = { version = "0.4.14", default-features = false } |
| 37 | +sp-core-hashing-proc-macro = { version = "5.0.0", path = "../../../primitives/core/hashing/proc-macro" } |
| 38 | + |
| 39 | +[dev-dependencies] |
| 40 | +assert_matches = "1.3.0" |
| 41 | +pretty_assertions = "1.0.0" |
| 42 | +frame-system = { version = "4.0.0-dev", path = "../../../frame/system" } |
| 43 | +parity-util-mem = { version = "0.11.0", default-features = false, features = ["primitive-types"] } |
| 44 | + |
| 45 | +[features] |
| 46 | +default = ["std"] |
| 47 | +std = [ |
| 48 | + "frame-support/std", |
| 49 | + "once_cell", |
| 50 | + "serde", |
| 51 | + "sp-io/std", |
| 52 | + "codec/std", |
| 53 | + "scale-info/std", |
| 54 | + "sp-std/std", |
| 55 | + "sp-runtime/std", |
| 56 | + "sp-tracing/std", |
| 57 | + "sp-arithmetic/std", |
| 58 | + "frame-metadata/std", |
| 59 | + "sp-inherents/std", |
| 60 | + "sp-staking/std", |
| 61 | + "sp-state-machine", |
| 62 | + "frame-support-procedural/std", |
| 63 | + "log/std", |
| 64 | +] |
| 65 | +runtime-benchmarks = [] |
| 66 | +try-runtime = [] |
| 67 | +# By default some types have documentation, `no-metadata-docs` allows to reduce the documentation |
| 68 | +# in the metadata. |
| 69 | +no-metadata-docs = ["frame-support-procedural/no-metadata-docs"] |
| 70 | +# By default some types have documentation, `full-metadata-docs` allows to add documentation to |
| 71 | +# more types in the metadata. |
| 72 | +full-metadata-docs = ["scale-info/docs"] |
0 commit comments