Added more docs.rs targets (#1521)

This commit is contained in:
simlay 2020-04-19 12:37:13 -07:00 committed by GitHub
parent 6dae994bb4
commit 78a62ec547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,9 @@ documentation = "https://docs.rs/winit"
categories = ["gui"] categories = ["gui"]
[package.metadata.docs.rs] [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] [features]
web-sys = ["web_sys", "wasm-bindgen", "instant/wasm-bindgen"] web-sys = ["web_sys", "wasm-bindgen", "instant/wasm-bindgen"]