Skip to main content

hns_browser_gateway/
lib.rs

1//! Strict browser gateway selected through an explicit platform contract.
2
3#[cfg(all(feature = "chromium", feature = "mobile"))]
4compile_error!("select exactly one hns-browser-gateway platform feature");
5#[cfg(not(any(feature = "chromium", feature = "mobile")))]
6compile_error!("select one hns-browser-gateway platform feature");
7
8#[cfg(feature = "chromium")]
9mod chromium;
10#[cfg(feature = "mobile")]
11mod mobile;
12
13#[cfg(feature = "chromium")]
14pub use chromium::*;
15#[cfg(feature = "mobile")]
16pub use mobile::*;