linera-storage 0.15.21

Storage abstractions for the Linera protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

fn main() {
    cfg_aliases::cfg_aliases! {
        with_testing: { any(test, feature = "test") },
        with_metrics: { all(not(target_arch = "wasm32"), feature = "metrics") },
        with_wasmer: { all(any(feature = "web", not(target_arch = "wasm32")), feature = "wasmer") },
        with_wasmtime: { all(not(target_arch = "wasm32"), feature = "wasmtime") },
        with_wasm_runtime: { any(with_wasmer, with_wasmtime) },
        with_rocksdb: { all(not(target_arch = "wasm32"), feature = "rocksdb") },
        with_scylladb: { all(not(target_arch = "wasm32"), feature = "scylladb") },
        with_revm: { feature = "revm" },
        web: { all(target_arch = "wasm32", feature = "web") },
    };
}