diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1a02b8ca9..2d30c26482 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,8 +4,8 @@ on: push: branches: [main] pull_request: - branches: [main] paths: + - ".ci/**" - "**.rs" - .github/** - Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index 64d3d06e0e..be287612e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,6 @@ libc = [] std = [] clock = ["std", "winapi"] oldtime = ["time"] -wasmbind = ["wasm-bindgen", "js-sys"] unstable-locales = ["pure-rust-locales", "alloc"] __internal_bench = ["criterion"] __doctest = [] @@ -42,8 +41,8 @@ criterion = { version = "0.3", optional = true } rkyv = {version = "0.7", optional = true} [target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies] -wasm-bindgen = { version = "0.2", optional = true } -js-sys = { version = "0.3", optional = true } # contains FFI bindings for the JS Date API +wasm-bindgen = { version = "0.2" } +js-sys = { version = "0.3" } # contains FFI bindings for the JS Date API [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.0", features = ["std", "minwinbase", "minwindef", "timezoneapi"], optional = true }