diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 0000000..19b0123 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1,3 @@ +allowed-duplicate-crates = ["cfg-if"] +avoid-breaking-exported-api = true +msrv = "1.48.0" diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa6315c..d23ef6c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -235,8 +235,8 @@ jobs: run: cargo generate-lockfile ${{ matrix.versions }} env: RUSTC_BOOTSTRAP: 1 - - run: cargo check --all-targets - - run: cargo clippy --all-targets + - run: cargo check --all-targets --workspace + - run: cargo clippy --all-targets --workspace -- -D warnings no-docker-image-check-only: runs-on: ubuntu-latest @@ -355,7 +355,7 @@ jobs: RUSTC_BOOTSTRAP: 1 - run: cargo check --all-targets working-directory: haiku - - run: cargo clippy --all-targets + - run: cargo clippy --all-targets -- -D warnings working-directory: haiku check-all-versions: diff --git a/Cargo.toml b/Cargo.toml index a42f257..5fc87b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,8 +28,8 @@ core-foundation-sys = "0.8.3" windows-core = { version = ">=0.50, <=0.52" } [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] -js-sys = "0.3.50" -wasm-bindgen = "0.2.70" +js-sys = "0.3.66" +wasm-bindgen = "0.2.89" [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies] wasm-bindgen-test = "0.3"