mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
8e2a4f06ee
* Upgrade to substrate 2.0.0 * WIP implement Subcommand manually (see https://github.com/paritytech/substrate/pull/6894#issuecomment-676060197) * Add pallet-staking/std to the std feature * Sort out the subcommand impl * Sort out the module index (ty @ascjones) Sort out the RefCount type (ty @dvc94ch) Random tweaks to make test-node more similar to the vanilla node-template * obey the fmt * cleanup * more cleanup
69 lines
2.5 KiB
TOML
69 lines
2.5 KiB
TOML
[workspace]
|
|
members = [".", "client", "proc-macro", "test-node"]
|
|
|
|
[package]
|
|
name = "substrate-subxt"
|
|
version = "0.12.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
license = "GPL-3.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/paritytech/substrate-subxt"
|
|
documentation = "https://docs.rs/substrate-subxt"
|
|
homepage = "https://www.parity.io/"
|
|
description = "Submit extrinsics (transactions) to a substrate node via RPC"
|
|
keywords = ["parity", "substrate", "blockchain"]
|
|
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
|
|
|
|
[features]
|
|
default = []
|
|
client = ["substrate-subxt-client"]
|
|
|
|
# enable this feature to run tests which require a local dev chain node
|
|
integration-tests = []
|
|
|
|
[dependencies]
|
|
log = "0.4.11"
|
|
thiserror = "1.0.20"
|
|
futures = "0.3.5"
|
|
jsonrpsee = { version = "0.1.0", features = ["ws"] }
|
|
num-traits = { version = "0.2.12", default-features = false }
|
|
serde = { version = "1.0.115", features = ["derive"] }
|
|
serde_json = "1.0.57"
|
|
url = "2.1.1"
|
|
codec = { package = "parity-scale-codec", version = "1.3.5", default-features = false, features = ["derive", "full"] }
|
|
|
|
frame-metadata = { version = "12", package = "frame-metadata" }
|
|
frame-support = { version = "2.0.0", package = "frame-support" }
|
|
sp-runtime = { version = "2.0.0", package = "sp-runtime" }
|
|
sp-version = { version = "2.0.0", package = "sp-version" }
|
|
pallet-indices = { version = "2.0.0", package = "pallet-indices" }
|
|
hex = "0.4.2"
|
|
sp-std = "2.0.0"
|
|
application-crypto = { version = "2.0.0", package = "sp-application-crypto" }
|
|
sp-finality-grandpa = "2.0.0"
|
|
sp-consensus-babe = "0.8.0"
|
|
pallet-im-online = "2.0.0"
|
|
sp-authority-discovery = "2.0.0"
|
|
pallet-staking = "2.0.0"
|
|
|
|
sp-rpc = { version = "2.0.0", package = "sp-rpc" }
|
|
sp-core = { version = "2.0.0", package = "sp-core" }
|
|
sc-rpc-api = { version = "0.8.0", package = "sc-rpc-api" }
|
|
sp-transaction-pool = { version = "2.0.0", package = "sp-transaction-pool" }
|
|
substrate-subxt-client = { version = "0.4.0", path = "client", optional = true }
|
|
substrate-subxt-proc-macro = { version = "0.12.0", path = "proc-macro" }
|
|
|
|
[dev-dependencies]
|
|
async-std = { version = "1.6.4", features = ["attributes"] }
|
|
env_logger = "0.7.1"
|
|
frame-system = { version = "2.0.0", package = "frame-system" }
|
|
pallet-balances = { version = "2.0.0", package = "pallet-balances" }
|
|
sp-keyring = { version = "2.0.0", package = "sp-keyring" }
|
|
substrate-subxt-client = { version = "0.4.0", path = "client" }
|
|
tempdir = "0.3.7"
|
|
test-node = { path = "test-node" }
|
|
wabt = "0.10.0"
|
|
assert_matches = "1.3"
|