mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
12 lines
420 B
Rust
12 lines
420 B
Rust
use cfg_aliases::cfg_aliases;
|
|
|
|
fn main() {
|
|
// Setup cfg aliases
|
|
cfg_aliases! {
|
|
lightclient: { any(feature = "light-client", feature = "light-client-long-running") },
|
|
fullclient: { all(not(feature = "light-client"), not(feature = "light-client-long-running")) },
|
|
legacy_backend: { not(feature = "chainhead-backend") },
|
|
chainhead_backend: { feature = "chainhead-backend" },
|
|
}
|
|
}
|