mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 21:58:00 +00:00
3807b29f36
* rpc: stabilize ChainHeadBackend * remove noise from example * add missing features * make tests compile * make tests compile v2 * revert stop event * feature-gate runtime * Update subxt/Cargo.toml * add docsrs feature stuff * Update subxt/src/backend/chain_head/mod.rs * Update subxt/src/backend/chain_head/mod.rs * Update subxt/src/backend/chain_head/mod.rs
12 lines
456 B
Rust
12 lines
456 B
Rust
use cfg_aliases::cfg_aliases;
|
|
|
|
fn main() {
|
|
// Setup cfg aliases
|
|
cfg_aliases! {
|
|
lightclient: { any(feature = "unstable-light-client", feature = "unstable-light-client-long-running") },
|
|
fullclient: { all(not(feature = "unstable-light-client"), not(feature = "unstable-light-client-long-running")) },
|
|
legacy_backend: { not(feature = "chainhead-backend") },
|
|
chainhead_backend: { feature = "chainhead-backend" },
|
|
}
|
|
}
|