1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Browser device capture bindings — wasm32 + host stub. #![forbid(unsafe_code)] mod config; pub use config::{DisplayCapturePreferences, UserMediaPreferences}; #[cfg(target_arch = "wasm32")] mod wasm; #[cfg(target_arch = "wasm32")] pub use wasm::*; #[cfg(not(target_arch = "wasm32"))] mod host; #[cfg(not(target_arch = "wasm32"))] pub use host::*;