Skip to main content

hns_browser_loopback_proxy/
lib.rs

1//! Authenticated loopback proxy selected through an explicit platform contract.
2
3#![cfg_attr(
4    not(test),
5    deny(clippy::expect_used, clippy::panic, clippy::unwrap_used)
6)]
7
8#[cfg(all(feature = "chromium", feature = "mobile"))]
9compile_error!("select exactly one hns-browser-loopback-proxy platform feature");
10#[cfg(not(any(feature = "chromium", feature = "mobile")))]
11compile_error!("select one hns-browser-loopback-proxy platform feature");
12
13#[cfg(feature = "chromium")]
14include!("chromium/lib.rs");
15#[cfg(feature = "mobile")]
16include!("mobile/lib.rs");