Files
pezkuwi-subxt/substrate/frame/Cargo.toml
T
gupnik 3836376965 Renames frame crate to polkadot-sdk-frame (#3813)
Step in https://github.com/paritytech/polkadot-sdk/issues/3155

Needed for https://github.com/paritytech/eng-automation/issues/6

This PR renames `frame` crate to `polkadot-sdk-frame` as `frame` is not
available on crates.io

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
2024-04-04 02:20:15 +00:00

100 lines
3.2 KiB
TOML

[package]
name = "polkadot-sdk-frame"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "paritytech.github.io"
repository.workspace = true
description = "The single package to get you started with building frame pallets and runtimes"
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
# enable `experimental` feature for docs
features = ["experimental"]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
# external deps
parity-scale-codec = { version = "3.2.2", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.11.1", default-features = false, features = [
"derive",
] }
# primitive deps, used for developing FRAME pallets.
sp-runtime = { default-features = false, path = "../primitives/runtime" }
sp-std = { default-features = false, path = "../primitives/std" }
sp-io = { default-features = false, path = "../primitives/io" }
sp-core = { default-features = false, path = "../primitives/core" }
sp-arithmetic = { default-features = false, path = "../primitives/arithmetic" }
# frame deps, for developing FRAME pallets.
frame-support = { default-features = false, path = "support" }
frame-system = { default-features = false, path = "system" }
# primitive types used for developing FRAME runtimes.
sp-version = { default-features = false, path = "../primitives/version", optional = true }
sp-api = { default-features = false, path = "../primitives/api", optional = true }
sp-block-builder = { default-features = false, path = "../primitives/block-builder", optional = true }
sp-transaction-pool = { default-features = false, path = "../primitives/transaction-pool", optional = true }
sp-offchain = { default-features = false, path = "../primitives/offchain", optional = true }
sp-session = { default-features = false, path = "../primitives/session", optional = true }
sp-consensus-aura = { default-features = false, path = "../primitives/consensus/aura", optional = true }
sp-consensus-grandpa = { default-features = false, path = "../primitives/consensus/grandpa", optional = true }
sp-inherents = { default-features = false, path = "../primitives/inherents", optional = true }
frame-executive = { default-features = false, path = "../frame/executive", optional = true }
frame-system-rpc-runtime-api = { default-features = false, path = "../frame/system/rpc/runtime-api", optional = true }
docify = "0.2.8"
log = { workspace = true }
[dev-dependencies]
pallet-examples = { path = "./examples" }
[features]
default = ["runtime", "std"]
experimental = ["frame-support/experimental"]
runtime = [
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-consensus-grandpa",
"sp-inherents",
"sp-offchain",
"sp-session",
"sp-transaction-pool",
"sp-version",
"frame-executive",
"frame-system-rpc-runtime-api",
]
std = [
"frame-executive?/std",
"frame-support/std",
"frame-system-rpc-runtime-api?/std",
"frame-system/std",
"log/std",
"parity-scale-codec/std",
"scale-info/std",
"sp-api?/std",
"sp-arithmetic/std",
"sp-block-builder?/std",
"sp-consensus-aura?/std",
"sp-consensus-grandpa?/std",
"sp-core/std",
"sp-inherents?/std",
"sp-io/std",
"sp-offchain?/std",
"sp-runtime/std",
"sp-session?/std",
"sp-std/std",
"sp-transaction-pool?/std",
"sp-version?/std",
]