openrtc 0.2.0

OpenRTC: a Rust-first P2P runtime for device discovery, signaling, and iroh/QUIC networking.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    println!("cargo:rustc-check-cfg=cfg(openrtc_unpublished_ble)");

    cfg_aliases::cfg_aliases! {
        // True when compiling for the browser (wasm32 target).
        // Use `#[cfg(browser)]` instead of `#[cfg(target_arch = "wasm32")]`.
        browser: { target_arch = "wasm32" },
        // True when compiling for native (any non-wasm32 target).
        // Use `#[cfg(native)]` instead of `#[cfg(not(target_arch = "wasm32"))]`.
        native: { not(target_arch = "wasm32") },
    }
}