Files
pezkuwi-subxt/substrate/frame/support/Cargo.toml
T
Igor Matuszewski eb6d651f9c Remove in-tree max-encoded-len and use the new SCALE codec crate instead (#9163)
* Update impl-codec to use new upstream MaxEncodedLen trait

* Adapt crates to use the updated codec crate for `MaxEncodedLen`

* Remove max-encoded-len crate altogether

* Fix test compilation in `pallet-proxy`

* reorganize import (#9186)

* Fix remaining `MaxEncodedLen` imports

* Fix remaining old usages of max-encoded-len crate

* Fix UI test

* Manually depend on new impl-codec to fix Polkadot companion build

* Use newly released primitive-types v0.9.1 that has new codec impls

* Make sure codec deps are up-to-date in crates that use them

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
2021-07-05 20:37:24 +00:00

61 lines
2.3 KiB
TOML

[package]
name = "frame-support"
version = "3.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Support code for the runtime."
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] }
frame-metadata = { version = "13.0.0", default-features = false, path = "../metadata" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
sp-tracing = { version = "3.0.0", default-features = false, path = "../../primitives/tracing" }
sp-core = { version = "3.0.0", default-features = false, path = "../../primitives/core" }
sp-arithmetic = { version = "3.0.0", default-features = false, path = "../../primitives/arithmetic" }
sp-inherents = { version = "3.0.0", default-features = false, path = "../../primitives/inherents" }
sp-staking = { version = "3.0.0", default-features = false, path = "../../primitives/staking" }
frame-support-procedural = { version = "3.0.0", default-features = false, path = "./procedural" }
paste = "1.0"
once_cell = { version = "1", default-features = false, optional = true }
sp-state-machine = { version = "0.9.0", optional = true, path = "../../primitives/state-machine" }
bitflags = "1.2"
impl-trait-for-tuples = "0.2.1"
smallvec = "1.4.1"
log = { version = "0.4.14", default-features = false }
[dev-dependencies]
pretty_assertions = "0.6.1"
frame-system = { version = "3.0.0", path = "../system" }
parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] }
[features]
default = ["std"]
std = [
"once_cell",
"serde",
"sp-io/std",
"codec/std",
"sp-std/std",
"sp-runtime/std",
"sp-tracing/std",
"sp-arithmetic/std",
"frame-metadata/std",
"sp-inherents/std",
"sp-staking/std",
"sp-state-machine",
"frame-support-procedural/std",
"log/std",
]
runtime-benchmarks = []
try-runtime = []