diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bd0667a..f317864 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,11 +8,7 @@ jobs: name: Publish on crates.io runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - uses: katyo/publish-crates@v1 + - uses: actions/checkout@v4 + - uses: katyo/publish-crates@v2 with: registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e40ad34..2873df9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,6 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - - uses: dtolnay/rust-toolchain@stable - run: test --all-features - run: cargo test --no-default-features @@ -27,10 +26,6 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, clippy - name: Run cargo fmt run: cargo fmt --all -- --check - name: Run cargo clippy diff --git a/Cargo.toml b/Cargo.toml index 62ff8fb..b1d0ece 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,10 @@ description = "Read GTFS (public transit timetables) files" name = "gtfs-structures" version = "0.41.3" -authors = ["Tristram Gräbener ", "Antoine Desbordes "] +authors = [ + "Tristram Gräbener ", + "Antoine Desbordes ", +] repository = "https://github.com/rust-transit/gtfs-structure" license = "MIT" edition = "2018" @@ -15,17 +18,17 @@ read-url = ["reqwest", "futures"] bytes = "1" csv = "1.1" derivative = "2.1" -serde = {version = "1.0", features = ["rc"]} +serde = { version = "1.0", features = ["rc"] } serde_derive = "1.0" -chrono = "0.4" -itertools = "0.11" +chrono = "0.4.38" +itertools = "0.13" sha2 = "0.10" -zip = "0.6" +zip = "2.2" thiserror = "1" rgb = "0.8" futures = { version = "0.3", optional = true } -reqwest = { version = "0.11", optional = true, features = ["blocking"]} +reqwest = { version = "0.12", optional = true, features = ["blocking"] } [dev-dependencies] serde_json = "1.0"