delete wasm feature and dependencies, as those are not packaged and not needed --- a/Cargo.toml +++ b/Cargo.toml @@ -41,33 +41,5 @@ name = "sys_locale" path = "src/lib.rs" -[features] -js = [ - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.js-sys] -version = "0.3" -optional = true - -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.wasm-bindgen] -version = "0.2" -optional = true - -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.web-sys] -version = "0.3" -features = [ - "Window", - "WorkerGlobalScope", - "Navigator", - "WorkerNavigator", -] -optional = true - -[target.'cfg(all(target_family = "wasm", not(unix)))'.dev-dependencies.wasm-bindgen-test] -version = "0.3" - [target.'cfg(target_os = "android")'.dependencies.libc] version = "0.2"