Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
Update serde to a version using syn v2.
Update cxx and thiserror in the lock file to versions using syn v2.
Update darling to v20
  • Loading branch information
jonasbb committed Apr 27, 2023
1 parent fa5fa16 commit 008a62f
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 34 deletions.
55 changes: 29 additions & 26 deletions Cargo.lock

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

4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ push = false
shared-version = true
sign-tag = true
tag = false

[patch.crates-io]
darling = { git = "https://github.com/jonasbb/darling", branch = "prepare-syn-2" }
# darling = { path = "../darling" }
6 changes: 6 additions & 0 deletions serde_with/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

* Update `syn` to v2 and `darling` to v0.20 (#578)
Update proc-macro dependencies.
This change should have no impact on users, but now uses the same dependency as `serde_derive`.

## [2.3.2] - 2023-04-05

### Changed
Expand Down
2 changes: 1 addition & 1 deletion serde_with/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ hex = {version = "0.4.3", optional = true, default-features = false}
indexmap_1 = {package = "indexmap", version = "1.8", optional = true, default-features = false, features = ["serde-1"]}
# The derive feature is needed for the flattened_maybe macro.
# https://github.com/jonasbb/serde_with/blob/eb1965a74a3be073ecd13ec05f02a01bc1c44309/serde_with/src/flatten_maybe.rs#L67
serde = {version = "1.0.139", default-features = false, features = ["derive"] }
serde = {version = "1.0.157", default-features = false, features = ["derive"] }
serde_json = {version = "1.0.45", optional = true, default-features = false}
serde_with_macros = {path = "../serde_with_macros", version = "=2.3.2", optional = true}
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
Expand Down
2 changes: 1 addition & 1 deletion serde_with/src/flatten_maybe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/// ```
#[macro_export]
macro_rules! flattened_maybe {
($fn:ident, $field:literal) => {
($fn:ident, $field:tt) => {
fn $fn<'de, T, D>(deserializer: D) -> $crate::__private__::Result<T, D::Error>
where
T: $crate::serde::Deserialize<'de>,
Expand Down
6 changes: 6 additions & 0 deletions serde_with_macros/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

* Update `syn` to v2 and `darling` to v0.20 (#578)
Update proc-macro dependencies.
This change should have no impact on users, but now uses the same dependency as `serde_derive`.

## [2.3.2] - 2023-04-05

No changes.
Expand Down
4 changes: 2 additions & 2 deletions serde_with_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ proc-macro = true
maintenance = {status = "actively-developed"}

[dependencies]
darling = "0.14.0"
darling = "0.20.0"
proc-macro2 = "1.0.1"
quote = "1.0.0"

Expand All @@ -46,7 +46,7 @@ version = "2.0.0"
expect-test = "1.4.0"
pretty_assertions = "1.0.0"
rustversion = "1.0.0"
serde = {version = "1.0.75", features = ["derive"]}
serde = {version = "1.0.157", features = ["derive"]}
serde_json = "1.0.25"
trybuild = "1.0.80"
version-sync = "0.9.1"
Expand Down

0 comments on commit 008a62f

Please sign in to comment.