mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 23:08:00 +00:00
da8ec3d737
* Bump codegen and cli to 0.2 * Add CLI README.md
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "subxt-cli"
|
|
version = "0.2.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
|
|
license = "GPL-3.0"
|
|
repository = "https://github.com/paritytech/subxt"
|
|
documentation = "https://docs.rs/subxt-cli"
|
|
homepage = "https://www.parity.io/"
|
|
description = "Command line utilities for working with subxt codegen"
|
|
|
|
[[bin]]
|
|
name = "subxt"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# perform subxt codegen
|
|
subxt-codegen = { version = "0.2.0", path = "../codegen" }
|
|
# parse command line args
|
|
structopt = "0.3.25"
|
|
# make the request to a substrate node to get the metadata
|
|
ureq = { version = "2.2.0", features = ["json"] }
|
|
# colourful error reports
|
|
color-eyre = "0.5.11"
|
|
# serialize the metadata
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
# serialize as json
|
|
serde_json = "1.0.68"
|
|
# hex encoded metadata to bytes
|
|
hex = "0.4.3"
|
|
# actual metadata types
|
|
frame-metadata = { version = "14.0.0", features = ["v14", "std"] }
|
|
# decode bytes into the metadata types
|
|
scale = { package = "parity-scale-codec", version = "2.3.0", default-features = false }
|
|
# handle urls to communicate with substrate nodes
|
|
url = { version = "2.2.2", features = ["serde"] }
|
|
# generate the item mod for codegen
|
|
syn = "1.0.80" |