Add Windows as a target OS in Cargo dependencies (#103)

This commit is contained in:
Drabble 2022-05-23 10:55:16 +02:00 committed by GitHub
parent c3edea26e5
commit 1f43dfc480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ name = "maplibre-winit"
version = "0.0.1"
edition = "2021"
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android"))'.dependencies]
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android", target_os = "windows"))'.dependencies]
tokio = { version = "1.17", features = ["rt"] }
[target.'cfg(target_os = "android")'.dependencies]

View File

@ -16,7 +16,7 @@ no-thread-safe-futures = []
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android"))'.dependencies]
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android", target_os = "windows"))'.dependencies]
tokio = { version = "1.17", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }
env_logger = "0.9"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "gzip"] }