Skip to content

Commit

Permalink
attempt to revert to edition 2021 to fix CI
Browse files Browse the repository at this point in the history
But the code remains 2024-ready
  • Loading branch information
remi-dupre committed Feb 23, 2025
1 parent 80d6203 commit c40b2e0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ jobs:
--workspace
--all-features
--run-types Tests
# Doctests are disabled because edition 2024 seems to have broken this
# --run-types Doctests
--run-types Doctests
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/remi-dupre/opening-hours-rs"
documentation = "https://docs.rs/opening-hours"
homepage = "https://github.com/remi-dupre/opening-hours-rs"
description = "A parser and evaluation tool for the opening_hours fields in OpenStreetMap."
edition = "2024"
edition = "2021"
exclude = ["dist/"] # generated by maturin
build = "opening-hours/build.rs"

Expand Down
2 changes: 1 addition & 1 deletion compact-calendar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/remi-dupre/opening-hours-rs"
documentation = "https://docs.rs/compact-calendar"
homepage = "https://github.com/remi-dupre/opening-hours-rs/tree/master/compact-calendar"
description = "Compact representation of a set of days based on a bit-maps"
edition = "2024"
edition = "2021"

[dependencies]
chrono = { version = "0.4", default-features = false }
2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "fuzz"
version = "0.1.0"
authors = ["Rémi Dupré <remi@dupre.io>"]
edition = "2024"
edition = "2021"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion opening-hours-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/remi-dupre/opening-hours-rs"
documentation = "https://remi-dupre.github.io/opening-hours-rs/opening_hours.html"
homepage = "https://github.com/remi-dupre/opening-hours-rs/tree/master/opening-hours-py"
description = "A parser and toolkit for the opening_hours in OpenStreetMap written in Rust."
edition = "2024"
edition = "2021"

[lib]
name = "opening_hours"
Expand Down
2 changes: 1 addition & 1 deletion opening-hours-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = "https://github.com/remi-dupre/opening-hours-rs"
documentation = "https://docs.rs/opening-hours-syntax"
homepage = "https://github.com/remi-dupre/opening-hours-rs/tree/master/opening-hours-syntax"
description = "A parser for opening_hours fields in OpenStreetMap."
edition = "2024"
edition = "2021"

[dependencies]
chrono = { version = "0.4", default-features = false }
Expand Down

0 comments on commit c40b2e0

Please sign in to comment.