Skip to content

Commit

Permalink
Bump time to 0.3.36 for nightly compatability (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb authored May 22, 2024
2 parents 72910bb + 55db6fc commit c348ea4
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# It is good to test more than the MSRV and stable since sometimes
# breakage occurs in intermediate versions.
# IMPORTANT: Synchronize the MSRV with the Cargo.toml values.
rust: ["1.66", "1.70", "1.75", "stable", "beta", "nightly"]
rust: ["1.67", "1.70", "1.75", "stable", "beta", "nightly"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
38 changes: 32 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/jonasbb/serde_with/"
rust-version = "1.66"
rust-version = "1.67"
version = "3.8.1"

[workspace.metadata.release]
Expand Down
2 changes: 1 addition & 1 deletion serde_with/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

* Bump MSRV to 1.66, since that is required for the `rmp` dependency.
* Bump MSRV to 1.67, since that is required for the `time` dependency.

## [3.8.1] - 2024-04-28

Expand Down
2 changes: 1 addition & 1 deletion serde_with/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ serde = {version = "1.0.152", default-features = false}
serde_derive = "1.0.152"
serde_json = {version = "1.0.45", optional = true, default-features = false}
serde_with_macros = {path = "../serde_with_macros", version = "=3.8.1", optional = true}
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
time_0_3 = {package = "time", version = "~0.3.36", optional = true, default-features = false}

[dev-dependencies]
expect-test = "1.5.0"
Expand Down
4 changes: 2 additions & 2 deletions serde_with/tests/time_0_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn test_offset_datetime_rfc2822() {

check_error_deserialization::<S>(
r#""Foobar""#,
expect![[r#"the 'weekday' component could not be parsed at line 1 column 8"#]],
expect!["the 'day' component could not be parsed at line 1 column 8"],
);
check_error_deserialization::<S>(
r#""Fri, 2000""#,
Expand Down Expand Up @@ -266,6 +266,6 @@ fn test_offset_datetime_iso8601() {
);
check_error_deserialization::<S>(
r#""2000-AA""#,
expect!["unexpected trailing characters at line 1 column 9"],
expect!["unexpected trailing characters; the end of input was expected at line 1 column 9"],
);
}

0 comments on commit c348ea4

Please sign in to comment.