mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 21:58:00 +00:00
dc0795b3b9
* macros: feature-gate jsonrpsee/fetch metadata url * make CI happy * Update codegen/src/error.rs * extract `fetch-metdata` to separate crate * add missing license headers * introduce subxt-utils crate * add missing files * codegen: remove unused hex crate * fix test build * move subxt_utils -> subxt_utils_fetchmetadata * cargo fmt * runtime-path -> runtime-metadata-path * Update utils/fetch-metadata/src/lib.rs
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[package]
|
|
name = "subxt-codegen"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
publish = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
documentation = "https://docs.rs/subxt-codegen"
|
|
homepage.workspace = true
|
|
description = "Generate an API for interacting with a substrate node from FRAME metadata"
|
|
|
|
[features]
|
|
default = []
|
|
web = ["getrandom/js"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] }
|
|
frame-metadata = { workspace = true, optional = true }
|
|
heck = { workspace = true }
|
|
proc-macro2 = { workspace = true }
|
|
quote = { workspace = true }
|
|
syn = { workspace = true }
|
|
scale-info = { workspace = true }
|
|
subxt-metadata = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
scale-typegen = { workspace = true }
|
|
|
|
# Included if "web" feature is enabled, to enable its js feature.
|
|
getrandom = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
scale-info = { workspace = true, features = ["bit-vec"] }
|
|
frame-metadata = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["default"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[package.metadata.playground]
|
|
default-features = true
|
|
|
|
[lints]
|
|
workspace = true |