borderless-runtime 0.5.0

Definition of the webassembly runtime for borderless smart-contracts and software-agents
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    let log = env::var("CARGO_FEATURE_LOG").is_ok();
    let tracing = env::var("CARGO_FEATURE_TRACING").is_ok();

    if log && tracing {
        println!("cargo:warning=Both `log` and `tracing` features are enabled. Only one should be active, as one deactivates the other (so neither logging nor tracing is enabled).");
    }
}