[package] name = "subxt-cli" version = "0.2.0" authors = ["Parity Technologies "] 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"