From 78a62ec5473e9cd5472c18f859103b0b0cb88362 Mon Sep 17 00:00:00 2001 From: simlay Date: Sun, 19 Apr 2020 12:37:13 -0700 Subject: [PATCH] Added more docs.rs targets (#1521) --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"]