diff --git a/Cargo.toml b/Cargo.toml index 62d46bf0..0b6f833f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,9 @@ documentation = "https://docs.rs/winit" categories = ["gui"] [package.metadata.docs.rs] -features = ["serde"] +features = ["serde", "web-sys"] +default-target = "x86_64-unknown-linux-gnu" +targets = ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "wasm32-unknown-unknown"] [features] web-sys = ["web_sys", "wasm-bindgen", "instant/wasm-bindgen"]