Skip to content

Commit 8b2a74a

Browse files
committed
Bump version to v3.2.0
1 parent 831fdbc commit 8b2a74a

File tree

8 files changed

+34
-30
lines changed

8 files changed

+34
-30
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ Foo::Bytes {
183183
}
184184
```
185185

186-
[`DisplayFromStr`]: https://docs.rs/serde_with/3.1.0/serde_with/struct.DisplayFromStr.html
187-
[`with_prefix!`]: https://docs.rs/serde_with/3.1.0/serde_with/macro.with_prefix.html
188-
[feature flags]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
189-
[skip_serializing_none]: https://docs.rs/serde_with/3.1.0/serde_with/attr.skip_serializing_none.html
190-
[StringWithSeparator]: https://docs.rs/serde_with/3.1.0/serde_with/struct.StringWithSeparator.html
191-
[user guide]: https://docs.rs/serde_with/3.1.0/serde_with/guide/index.html
186+
[`DisplayFromStr`]: https://docs.rs/serde_with/3.2.0/serde_with/struct.DisplayFromStr.html
187+
[`with_prefix!`]: https://docs.rs/serde_with/3.2.0/serde_with/macro.with_prefix.html
188+
[feature flags]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
189+
[skip_serializing_none]: https://docs.rs/serde_with/3.2.0/serde_with/attr.skip_serializing_none.html
190+
[StringWithSeparator]: https://docs.rs/serde_with/3.2.0/serde_with/struct.StringWithSeparator.html
191+
[user guide]: https://docs.rs/serde_with/3.2.0/serde_with/guide/index.html
192192
[with-annotation]: https://serde.rs/field-attrs.html#with
193-
[as-annotation]: https://docs.rs/serde_with/3.1.0/serde_with/guide/serde_as/index.html
193+
[as-annotation]: https://docs.rs/serde_with/3.2.0/serde_with/guide/serde_as/index.html
194194

195195
## License
196196

serde_with/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [3.2.0] - 2023-08-04
11+
1012
### Added
1113

1214
* Add optional support for indexmap v2 (#621)

serde_with/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
]
77
name = "serde_with"
88
rust-version = "1.64"
9-
version = "3.1.0"
9+
version = "3.2.0"
1010

1111
categories = ["encoding", "no-std", "no-std::no-alloc"]
1212
description = "Custom de/serialization functions for Rust's serde"
@@ -72,7 +72,7 @@ indexmap_2 = {package = "indexmap", version = "2.0", optional = true, default-fe
7272
# https://github.com/jonasbb/serde_with/blob/eb1965a74a3be073ecd13ec05f02a01bc1c44309/serde_with/src/flatten_maybe.rs#L67
7373
serde = {version = "1.0.157", default-features = false, features = ["derive"] }
7474
serde_json = {version = "1.0.45", optional = true, default-features = false}
75-
serde_with_macros = {path = "../serde_with_macros", version = "=3.1.0", optional = true}
75+
serde_with_macros = {path = "../serde_with_macros", version = "=3.2.0", optional = true}
7676
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
7777

7878
[dev-dependencies]

serde_with/src/lib.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#![doc(test(attr(warn(rust_2018_idioms))))]
2727
// Not needed for 2018 edition and conflicts with `rust_2018_idioms`
2828
#![doc(test(no_crate_inject))]
29-
#![doc(html_root_url = "https://docs.rs/serde_with/3.1.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with/3.2.0/")]
3030
#![cfg_attr(docsrs, feature(doc_cfg))]
3131
#![allow(
3232
// clippy is broken and shows wrong warnings
@@ -281,14 +281,14 @@
281281
//! # }
282282
//! ```
283283
//!
284-
//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.1.0/serde_with/struct.DisplayFromStr.html
285-
//! [`with_prefix!`]: https://docs.rs/serde_with/3.1.0/serde_with/macro.with_prefix.html
286-
//! [feature flags]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
287-
//! [skip_serializing_none]: https://docs.rs/serde_with/3.1.0/serde_with/attr.skip_serializing_none.html
288-
//! [StringWithSeparator]: https://docs.rs/serde_with/3.1.0/serde_with/struct.StringWithSeparator.html
289-
//! [user guide]: https://docs.rs/serde_with/3.1.0/serde_with/guide/index.html
284+
//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.2.0/serde_with/struct.DisplayFromStr.html
285+
//! [`with_prefix!`]: https://docs.rs/serde_with/3.2.0/serde_with/macro.with_prefix.html
286+
//! [feature flags]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
287+
//! [skip_serializing_none]: https://docs.rs/serde_with/3.2.0/serde_with/attr.skip_serializing_none.html
288+
//! [StringWithSeparator]: https://docs.rs/serde_with/3.2.0/serde_with/struct.StringWithSeparator.html
289+
//! [user guide]: https://docs.rs/serde_with/3.2.0/serde_with/guide/index.html
290290
//! [with-annotation]: https://serde.rs/field-attrs.html#with
291-
//! [as-annotation]: https://docs.rs/serde_with/3.1.0/serde_with/guide/serde_as/index.html
291+
//! [as-annotation]: https://docs.rs/serde_with/3.2.0/serde_with/guide/serde_as/index.html
292292
293293
#[cfg(feature = "alloc")]
294294
extern crate alloc;
@@ -495,7 +495,7 @@ pub use serde_with_macros::*;
495495
/// # }
496496
/// ```
497497
///
498-
/// [serde_as]: https://docs.rs/serde_with/3.1.0/serde_with/attr.serde_as.html
498+
/// [serde_as]: https://docs.rs/serde_with/3.2.0/serde_with/attr.serde_as.html
499499
pub struct As<T: ?Sized>(PhantomData<T>);
500500

501501
/// Adapter to convert from `serde_as` to the serde traits.
@@ -927,7 +927,7 @@ pub struct BytesOrString;
927927
/// ```
928928
///
929929
/// [`chrono::Duration`]: ::chrono_0_4::Duration
930-
/// [feature flag]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
930+
/// [feature flag]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
931931
pub struct DurationSeconds<
932932
FORMAT: formats::Format = u64,
933933
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1059,7 +1059,7 @@ pub struct DurationSeconds<
10591059
/// ```
10601060
///
10611061
/// [`chrono::Duration`]: ::chrono_0_4::Duration
1062-
/// [feature flag]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
1062+
/// [feature flag]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
10631063
pub struct DurationSecondsWithFrac<
10641064
FORMAT: formats::Format = f64,
10651065
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1261,7 +1261,7 @@ pub struct DurationNanoSecondsWithFrac<
12611261
/// [`SystemTime`]: std::time::SystemTime
12621262
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
12631263
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
1264-
/// [feature flag]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
1264+
/// [feature flag]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
12651265
pub struct TimestampSeconds<
12661266
FORMAT: formats::Format = i64,
12671267
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1403,7 +1403,7 @@ pub struct TimestampSeconds<
14031403
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
14041404
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
14051405
/// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
1406-
/// [feature flag]: https://docs.rs/serde_with/3.1.0/serde_with/guide/feature_flags/index.html
1406+
/// [feature flag]: https://docs.rs/serde_with/3.2.0/serde_with/guide/feature_flags/index.html
14071407
pub struct TimestampSecondsWithFrac<
14081408
FORMAT: formats::Format = f64,
14091409
STRICTNESS: formats::Strictness = formats::Strict,

serde_with_macros/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [3.2.0] - 2023-08-04
11+
1012
No changes.
1113

1214
## [3.1.0] - 2023-07-17

serde_with_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Jonas Bushart"]
33
name = "serde_with_macros"
44
rust-version = "1.64"
5-
version = "3.1.0"
5+
version = "3.2.0"
66

77
categories = ["encoding"]
88
description = "proc-macro library for serde_with"

serde_with_macros/src/lib.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#![doc(test(attr(warn(rust_2018_idioms))))]
2727
// Not needed for 2018 edition and conflicts with `rust_2018_idioms`
2828
#![doc(test(no_crate_inject))]
29-
#![doc(html_root_url = "https://docs.rs/serde_with_macros/3.1.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with_macros/3.2.0/")]
3030
// Necessary to silence the warning about clippy::unknown_clippy_lints on nightly
3131
#![allow(renamed_and_removed_lints)]
3232
// Necessary for nightly clippy lints
@@ -590,8 +590,8 @@ fn field_has_attribute(field: &Field, namespace: &str, name: &str) -> bool {
590590
/// }
591591
/// ```
592592
///
593-
/// [`serde_as`]: https://docs.rs/serde_with/3.1.0/serde_with/guide/index.html
594-
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.1.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
593+
/// [`serde_as`]: https://docs.rs/serde_with/3.2.0/serde_with/guide/index.html
594+
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.2.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
595595
#[proc_macro_attribute]
596596
pub fn serde_as(args: TokenStream, input: TokenStream) -> TokenStream {
597597
#[derive(FromMeta)]
@@ -1008,7 +1008,7 @@ fn has_type_embedded(type_: &Type, embedded_type: &syn::Ident) -> bool {
10081008
/// [`Display`]: std::fmt::Display
10091009
/// [`FromStr`]: std::str::FromStr
10101010
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1011-
/// [serde-as-crate]: https://docs.rs/serde_with/3.1.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1011+
/// [serde-as-crate]: https://docs.rs/serde_with/3.2.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
10121012
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
10131013
#[proc_macro_derive(DeserializeFromStr, attributes(serde_with))]
10141014
pub fn derive_deserialize_fromstr(item: TokenStream) -> TokenStream {
@@ -1128,7 +1128,7 @@ fn deserialize_fromstr(mut input: DeriveInput, serde_with_crate_path: Path) -> T
11281128
/// [`Display`]: std::fmt::Display
11291129
/// [`FromStr`]: std::str::FromStr
11301130
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1131-
/// [serde-as-crate]: https://docs.rs/serde_with/3.1.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1131+
/// [serde-as-crate]: https://docs.rs/serde_with/3.2.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
11321132
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
11331133
#[proc_macro_derive(SerializeDisplay, attributes(serde_with))]
11341134
pub fn derive_serialize_display(item: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)