linera-core 0.15.4

The core Linera protocol, including client and server logic, node synchronization, etc.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

fn main() {
    cfg_aliases::cfg_aliases! {
        web: { all(target_arch = "wasm32", feature = "web") },
        with_testing: { any(test, feature = "test") },
        with_metrics: { all(not(target_arch = "wasm32"), feature = "metrics") },

        // the old version of `getrandom` we pin here is available on all targets, but
        // using it will panic if no suitable source of entropy is found
        with_getrandom: { any(web, not(target_arch = "wasm32")) },
    };
}