mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 09:47:56 +00:00
a0cb14aa4f
* start migrating, broken * first iteration of updating * fmt and clippy * add Composite<u32> decoding via scale value patch * bump scale type gen versions * fix decoding with new scale decode * compiling with changed deps * core utils, condig, client, metadata * core crate compiling * signer crate no once lock * add core to no-std-tests, change imports * broken commit, start pulling everything together in subxt * port more things to subxt * events in core crate, extrinsics sadly much more difficult * almost all examples pass again * dynamic values fix in examples * fix no std issue and fmt * remove unused dependencies * fix lightclient impl * runtime version refactor * formatting and addressing nits * more comments addressed * update wasm example and no-std-signer tests * other nits and error impl on signer errors * fix feature flag * fix runtime version refactor * fix doc links * fix integration tests * fix feature flag gated client state * fix native feature in CI * fix lightclient utils * make imports more lean in subxt-core * integrate changes from subxt-core imports into subxt * other changes in subxt simplify imports more * fix and docs * doc false for cli * fix clippy * remove events block hash in tests * codegen no-std support in generated code * export alloc crate for no-std codegen * fix doc test * implement James comments * remove std traits, use core traits instead * address nits * remove unusued dep in no-std tests * fix Box import in no_std * sp-crypto-hashing instead of sp-core-hashing * bump scale-typegen, add no std codegen tests * fix some things * replace unmaintained derivative with derive_where to remove non-canonical warnings * fmt * remove unused dep * fix deps * update artifacts to fix type ID mismatches * bump to latest scale-typegen --------- Co-authored-by: James Wilson <james@jsdw.me>
83 lines
2.8 KiB
TOML
83 lines
2.8 KiB
TOML
[package]
|
|
name = "subxt-core"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
publish = true
|
|
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
documentation.workspace = true
|
|
homepage.workspace = true
|
|
description = "A no-std compatible subset of Subxt's functionality"
|
|
keywords = ["parity", "subxt", "extrinsic", "no-std"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"scale-value/std",
|
|
"scale-bits/std",
|
|
"scale-decode/std",
|
|
"scale-encode/std",
|
|
"frame-metadata/std",
|
|
"subxt-metadata/std",
|
|
"hex/std",
|
|
"serde/std",
|
|
"serde_json/std",
|
|
"tracing/std",
|
|
"impl-serde/std",
|
|
"primitive-types/std",
|
|
]
|
|
substrate-compat = ["sp-core", "sp-runtime"]
|
|
|
|
[dependencies]
|
|
|
|
codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] }
|
|
scale-info = { workspace = true, default-features = false, features = ["bit-vec"] }
|
|
scale-value = { workspace = true, default-features = false }
|
|
scale-bits = { workspace = true, default-features = false }
|
|
scale-decode = { workspace = true, default-features = false, features = ["derive", "primitive-types"] }
|
|
scale-encode = { workspace = true, default-features = false, features = ["derive", "primitive-types", "bits"] }
|
|
frame-metadata = { workspace = true, default-features = false }
|
|
subxt-metadata = { workspace = true, default-features = false }
|
|
derive-where = { workspace = true }
|
|
derive_more = { workspace = true }
|
|
hex = { workspace = true, default-features = false, features = ["alloc"] }
|
|
serde = { workspace = true, default-features = false, features = ["derive"] }
|
|
serde_json = { workspace = true, default-features = false, features = ["raw_value", "alloc"] }
|
|
hashbrown = { workspace = true }
|
|
|
|
|
|
# For ss58 encoding AccountId32 to serialize them properly:
|
|
base58 = { workspace = true }
|
|
blake2 = { workspace = true }
|
|
|
|
# Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256:
|
|
impl-serde = { workspace = true, default-features = false }
|
|
primitive-types = { workspace = true, default-features = false, features = ["codec", "serde_no_std", "scale-info"] }
|
|
sp-crypto-hashing = { workspace = true }
|
|
|
|
# Included if the "substrate-compat" feature is enabled.
|
|
sp-core = { workspace = true, optional = true }
|
|
sp-runtime = { workspace = true, optional = true }
|
|
tracing = { workspace = true, default-features = false }
|
|
|
|
[dev-dependencies]
|
|
bitvec = { workspace = true }
|
|
codec = { workspace = true, features = ["derive", "bit-vec"] }
|
|
sp-core = { workspace = true }
|
|
sp-keyring = { workspace = true }
|
|
sp-runtime = { workspace = true }
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
defalt-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[package.metadata.playground]
|
|
defalt-features = true
|