diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06b39d0..7169175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.79.0 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 - # Hack for Rust 1.80 - type inference went crazy and didn't allow to build a library - - run: rustup default 1.79.0 - run: cargo test --release rustfmt: @@ -25,10 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.79.0 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 - # Hack for Rust 1.79 - rustfmt is just not there? - - run: rustup component add rustfmt - run: cargo fmt --check clippy: @@ -39,10 +35,8 @@ jobs: RUSTFLAGS: "-Dwarnings" steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.79.0 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 - # Hack for Rust 1.79 - clippy is just not there? - - run: rustup component add clippy - run: cargo lint typos: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5f4312..b8f3c5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,10 +69,8 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 + - uses: dtolnay/rust-toolchain@stable with: - # Hack for Rust 1.80 - type inference went crazy and didn't allow to build a library - toolchain: 1.79.0 target: ${{ matrix.target }} - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 diff --git a/Cargo.lock b/Cargo.lock index a3a4199..943b3ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ahash" @@ -2556,9 +2556,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ "deranged", "itoa", @@ -2579,9 +2579,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ "num-conv", "time-core", diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 8749391..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,3 +0,0 @@ -[toolchain] -channel = "1.79.0" -components = ["rustfmt", "clippy"]