From 374041584573074b26b28e085070e86bf417af2b Mon Sep 17 00:00:00 2001 From: Nixon Date: Tue, 6 Jan 2026 22:11:11 +0800 Subject: [PATCH] Simplify git actions, bump version --- .github/workflows/rust.yml | 6 ------ Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1ae7df0..2963dea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - run: cargo check --workspace --all-features --all-targets check-no-defaults: @@ -29,7 +28,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - run: cargo check --workspace --no-default-features clippy: @@ -38,7 +36,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - run: rustup component add clippy - run: cargo clippy --workspace --all-features --all-targets -- -D warnings @@ -48,7 +45,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - run: cargo doc --workspace --all-features --no-deps --document-private-items env: RUSTDOCFLAGS: -D warnings @@ -59,7 +55,6 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - run: cargo test --workspace --all-features --all-targets # Note: cargo test --all-targets disables doc tests, so we have to add this to test docs @@ -69,5 +64,4 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - run: cargo test --workspace --all-features --doc diff --git a/Cargo.toml b/Cargo.toml index aefc0fd..3d54c16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparse_map" -version = "0.1.0" +version = "0.2.0" edition = "2024" license = "MIT OR Apache-2.0" description = "A sparse map with stable generational keys."