mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
04fcc71809
* primitives/sr-primitives -> primitives/runtime * update
141 lines
6.0 KiB
TOML
141 lines
6.0 KiB
TOML
[package]
|
|
name = "node-cli"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Substrate node implementation in Rust."
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
default-run = "substrate"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "paritytech/substrate", branch = "master" }
|
|
maintenance = { status = "actively-developed" }
|
|
is-it-maintained-issue-resolution = { repository = "paritytech/substrate" }
|
|
is-it-maintained-open-issues = { repository = "paritytech/substrate" }
|
|
|
|
[[bin]]
|
|
name = "substrate"
|
|
path = "bin/main.rs"
|
|
required-features = ["cli"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
# third-party dependencies
|
|
codec = { package = "parity-scale-codec", version = "1.0.6" }
|
|
serde = { version = "1.0.102", features = ["derive"] }
|
|
futures01 = { package = "futures", version = "0.1.29" }
|
|
futures = { version = "0.3.1", features = ["compat"] }
|
|
hex-literal = "0.2.1"
|
|
jsonrpc-core = "14.0.3"
|
|
log = "0.4.8"
|
|
rand = "0.7.2"
|
|
structopt = "0.3.3"
|
|
|
|
# primitives
|
|
authority-discovery-primitives = { package = "sp-authority-discovery", path = "../../../primitives/authority-discovery"}
|
|
babe-primitives = { package = "sp-consensus-babe", path = "../../../primitives/consensus/babe" }
|
|
grandpa-primitives = { package = "sp-finality-grandpa", path = "../../../primitives/finality-grandpa" }
|
|
primitives = { package = "sp-core", path = "../../../primitives/core" }
|
|
sp-runtime = { path = "../../../primitives/runtime" }
|
|
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false }
|
|
sp-finality-tracker = { path = "../../../primitives/finality-tracker", default-features = false }
|
|
inherents = { package = "sp-inherents", path = "../../../primitives/inherents" }
|
|
keyring = { package = "sp-keyring", path = "../../../primitives/keyring" }
|
|
runtime-io = { package = "sp-io", path = "../../../primitives/sr-io" }
|
|
consensus-common = { package = "sp-consensus", path = "../../../primitives/consensus/common" }
|
|
|
|
# client dependencies
|
|
client-api = { package = "sc-client-api", path = "../../../client/api" }
|
|
client = { package = "sc-client", path = "../../../client/" }
|
|
chain-spec = { package = "sc-chain-spec", path = "../../../client/chain-spec" }
|
|
txpool = { package = "sc-transaction-pool", path = "../../../client/transaction-pool" }
|
|
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
|
|
network = { package = "sc-network", path = "../../../client/network" }
|
|
babe = { package = "sc-consensus-babe", path = "../../../client/consensus/babe" }
|
|
grandpa = { package = "sc-finality-grandpa", path = "../../../client/finality-grandpa" }
|
|
client-db = { package = "sc-client-db", path = "../../../client/db", default-features = false }
|
|
offchain = { package = "sc-offchain", path = "../../../client/offchain" }
|
|
sc-rpc = { path = "../../../client/rpc" }
|
|
sc-basic-authority = { path = "../../../client/basic-authorship" }
|
|
sc-service = { path = "../../../client/service", default-features = false }
|
|
sc-telemetry = { path = "../../../client/telemetry" }
|
|
authority-discovery = { package = "sc-authority-discovery", path = "../../../client/authority-discovery"}
|
|
|
|
# frame dependencies
|
|
indices = { package = "pallet-indices", path = "../../../frame/indices" }
|
|
timestamp = { package = "pallet-timestamp", path = "../../../frame/timestamp", default-features = false }
|
|
contracts = { package = "pallet-contracts", path = "../../../frame/contracts" }
|
|
system = { package = "frame-system", path = "../../../frame/system" }
|
|
balances = { package = "pallet-balances", path = "../../../frame/balances" }
|
|
transaction-payment = { package = "pallet-transaction-payment", path = "../../../frame/transaction-payment" }
|
|
support = { package = "frame-support", path = "../../../frame/support", default-features = false }
|
|
im_online = { package = "pallet-im-online", path = "../../../frame/im-online", default-features = false }
|
|
sr-authority-discovery = { package = "pallet-authority-discovery", path = "../../../frame/authority-discovery"}
|
|
|
|
# node-specific dependencies
|
|
node-runtime = { path = "../runtime" }
|
|
node-rpc = { path = "../rpc" }
|
|
node-primitives = { path = "../primitives" }
|
|
node-executor = { path = "../executor" }
|
|
|
|
# CLI-specific dependencies
|
|
tokio = { version = "0.1.22", optional = true }
|
|
sc-cli = { path = "../../../client/cli", optional = true }
|
|
transaction-factory = { path = "../../../test/utils/transaction-factory", optional = true }
|
|
ctrlc = { version = "3.1.3", features = ["termination"], optional = true }
|
|
|
|
# WASM-specific dependencies
|
|
libp2p = { version = "0.13.0", default-features = false, optional = true }
|
|
clear_on_drop = { version = "0.2.3", features = ["no_cc"], optional = true } # Imported just for the `no_cc` feature
|
|
console_error_panic_hook = { version = "0.1.1", optional = true }
|
|
console_log = { version = "0.1.2", optional = true }
|
|
js-sys = { version = "0.3.22", optional = true }
|
|
wasm-bindgen = { version = "0.2.45", optional = true }
|
|
wasm-bindgen-futures = { version = "0.3.22", optional = true }
|
|
kvdb-memorydb = { version = "0.1.1", optional = true }
|
|
rand6 = { package = "rand", version = "0.6", features = ["wasm-bindgen"], optional = true } # Imported just for the `wasm-bindgen` feature
|
|
|
|
[dev-dependencies]
|
|
keystore = { package = "sc-keystore", path = "../../../client/keystore" }
|
|
babe = { package = "sc-consensus-babe", path = "../../../client/consensus/babe", features = ["test-helpers"] }
|
|
service-test = { package = "sc-service-test", path = "../../../client/service/test" }
|
|
futures = "0.3.1"
|
|
tempfile = "3.1.0"
|
|
|
|
[build-dependencies]
|
|
sc-cli = { package = "sc-cli", path = "../../../client/cli" }
|
|
build-script-utils = { package = "substrate-build-script-utils", path = "../../../utils/build-script-utils" }
|
|
structopt = "0.3.3"
|
|
vergen = "3.0.4"
|
|
|
|
[features]
|
|
default = ["cli"]
|
|
browser = [
|
|
"clear_on_drop",
|
|
"console_error_panic_hook",
|
|
"console_log",
|
|
"js-sys",
|
|
"libp2p",
|
|
"wasm-bindgen",
|
|
"wasm-bindgen-futures",
|
|
"kvdb-memorydb",
|
|
"rand/wasm-bindgen",
|
|
"rand6"
|
|
]
|
|
cli = [
|
|
"sc-cli",
|
|
"transaction-factory",
|
|
"tokio",
|
|
"ctrlc",
|
|
"sc-service/rocksdb",
|
|
"node-executor/wasmi-errno",
|
|
]
|
|
wasmtime = [
|
|
"cli",
|
|
"node-executor/wasmtime",
|
|
"sc-cli/wasmtime",
|
|
"sc-service/wasmtime",
|
|
]
|