Files
pezkuwi-sdk/vendor/pezkuwi-subxt/lightclient/Cargo.toml
T
pezkuwichain ea341084f0 fix: comprehensive feature propagation and dep:serde fixes
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates)
- Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features
- Regenerate umbrella crate with proper feature propagation
- Format all TOML files with taplo

This resolves check-umbrella and check-zepter CI failures.
2026-01-04 20:37:14 +03:00

83 lines
2.1 KiB
TOML

[package]
name = "pezkuwi-subxt-lightclient"
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 = "Light Client for chain interaction"
keywords = ["bizinikiwi", "blockchain", "parity"]
[lints]
workspace = true
[features]
default = ["native"]
# Enable this for native (ie non web/wasm builds).
# Exactly 1 of "web" and "native" is expected.
native = ["smoldot-light/std", "tokio/rt"]
# Enable this for web/wasm builds.
# Exactly 1 of "web" and "native" is expected.
web = [
# For the light-client platform.
"futures-timer/wasm-bindgen",
"getrandom/js",
# For websocket.
"js-sys",
"pin-project",
"send_wrapper",
"smoldot/std",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"web-time",
]
std = [
"futures-util/std",
"getrandom?/std",
"serde/std",
"serde_json/std",
"smoldot-light/std",
"smoldot?/std",
"tracing/std",
]
serde = []
[dependencies]
futures = { workspace = true, features = ["async-await"] }
futures-util = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["default", "raw_value"] }
smoldot-light = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
tracing = { workspace = true }
# Only needed for web
futures-timer = { workspace = true, optional = true }
getrandom = { workspace = true, optional = true }
js-sys = { workspace = true, optional = true }
pin-project = { workspace = true, optional = true }
send_wrapper = { workspace = true, optional = true }
smoldot = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-futures = { workspace = true, optional = true }
web-sys = { workspace = true, optional = true }
web-time = { workspace = true, optional = true }
[package.metadata.docs.rs]
default-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
default-features = true