mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 15:57:55 +00:00
253a7d8b0b
* WIP * Begin converting rpc layer to use std futures and jsonrpsee * Convert metadata to async/await * Convert block_hash to async/await * Convert more methods to async/await * Remove sp_rpc * Fix more compilation errors * Remove connect * Starting to convert subscription functions * Use jsonrpsee branch from PR for public client types * Implement subscribe events with jsonrpsee subscription * Converting subscriptions and wait_for_block_events * WIP converting lib methods to async * Use shared client reference directly for rpc call `rpc_api!` macro currently only supports RawClient (which cannot be shared). Also supports named params only which is not currently compatible with substrate rpd which accepts only positional params. * Use &self instead of &mut self for shared Client * Convert submit_and_watch to async/await * Convert more Client fns to async * Pin some trait futures * Add serde error * Fix client creation * Fix client request compiler errors * Unify metadata errors * Add WS handshake error variant * Fix some more compiler errors * Fix more compiler errors * Convert submit_extrinsic to async * Convert submit and submit_and_watch * Add Send + Sync constraints * Clone clients * Fix EventArg conversion error * Fix remaining warnings/errors * Replace deny warnings with specific lints * Infallable subscription loops * Use jsonrpsee wss branch * Fix example * Start to fix up tests * Make contracts tests compile * Make some more tests pass * Fix up remaining tests * Fmt * Use correct event storage key type * Fix finding events * Use master jsonrpsee
42 lines
1.9 KiB
TOML
42 lines
1.9 KiB
TOML
[package]
|
|
name = "substrate-subxt"
|
|
version = "0.4.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
license = "GPL-3.0"
|
|
readme = "README.md"
|
|
description = "Submit extrinsics (transactions) to a substrate node via RPC"
|
|
keywords = ["parity", "substrate", "blockchain"]
|
|
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
thiserror = "1.0"
|
|
futures = "0.3"
|
|
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee/", features = ["ws"] }
|
|
num-traits = { version = "0.2", default-features = false }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
url = "1.7"
|
|
codec = { package = "parity-scale-codec", version = "1.1", default-features = false, features = ["derive", "full"] }
|
|
|
|
frame-metadata = { git = "https://github.com/paritytech/substrate/", package = "frame-metadata" }
|
|
frame-support = { git = "https://github.com/paritytech/substrate/", package = "frame-support" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate/", package = "sp-runtime" }
|
|
sp-version = { git = "https://github.com/paritytech/substrate/", package = "sp-version" }
|
|
pallet-indices = { git = "https://github.com/paritytech/substrate/", package = "pallet-indices" }
|
|
hex = "0.4.0"
|
|
sp-rpc = { git = "https://github.com/paritytech/substrate/", package = "sp-rpc" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate/", package = "sp-core" }
|
|
sp-transaction-pool = { git = "https://github.com/paritytech/substrate/", package = "sp-transaction-pool" }
|
|
|
|
[dev-dependencies]
|
|
async-std = "1.2.0"
|
|
env_logger = "0.7"
|
|
wabt = "0.9"
|
|
frame-system = { git = "https://github.com/paritytech/substrate/", package = "frame-system" }
|
|
node-runtime = { git = "https://github.com/paritytech/substrate/", package = "node-runtime" }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate/", package = "pallet-balances" }
|
|
sp-keyring = { git = "https://github.com/paritytech/substrate/", package = "sp-keyring" }
|