Skip to main content

hns_browser_transport/
lib.rs

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