mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
93 lines
3.4 KiB
TOML
93 lines
3.4 KiB
TOML
[package]
|
|
name = "frame"
|
|
version = "0.0.1-dev"
|
|
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
|
|
|
|
[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.6.0", 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.0"
|
|
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b" }
|
|
log = { version = "0.4.20", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
pallet-examples = { path = "./examples" }
|
|
|
|
[features]
|
|
default = [ "runtime", "std" ]
|
|
experimental = [ "frame-support/experimental", "frame-system/experimental" ]
|
|
runtime = [
|
|
"frame-executive",
|
|
"frame-system-rpc-runtime-api",
|
|
"sp-api",
|
|
"sp-block-builder",
|
|
"sp-consensus-aura",
|
|
"sp-consensus-grandpa",
|
|
"sp-inherents",
|
|
"sp-offchain",
|
|
"sp-session",
|
|
"sp-transaction-pool",
|
|
"sp-version",
|
|
]
|
|
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",
|
|
]
|