Skip to content

Commit 2f15b84

Browse files
bors[bot]jonasbb
andauthored
Merge #574
574: Bump version to 2.3.1 r=jonasbb a=jonasbb Co-authored-by: Jonas Bushart <[email protected]>
2 parents 38f638f + ea75635 commit 2f15b84

File tree

8 files changed

+36
-30
lines changed

8 files changed

+36
-30
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,14 @@ Foo::Bytes {
176176
}
177177
```
178178

179-
[`DisplayFromStr`]: https://docs.rs/serde_with/2.3.0/serde_with/struct.DisplayFromStr.html
180-
[`with_prefix!`]: https://docs.rs/serde_with/2.3.0/serde_with/macro.with_prefix.html
181-
[feature flags]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
182-
[skip_serializing_none]: https://docs.rs/serde_with/2.3.0/serde_with/attr.skip_serializing_none.html
183-
[StringWithSeparator]: https://docs.rs/serde_with/2.3.0/serde_with/struct.StringWithSeparator.html
184-
[user guide]: https://docs.rs/serde_with/2.3.0/serde_with/guide/index.html
179+
[`DisplayFromStr`]: https://docs.rs/serde_with/2.3.1/serde_with/struct.DisplayFromStr.html
180+
[`with_prefix!`]: https://docs.rs/serde_with/2.3.1/serde_with/macro.with_prefix.html
181+
[feature flags]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
182+
[skip_serializing_none]: https://docs.rs/serde_with/2.3.1/serde_with/attr.skip_serializing_none.html
183+
[StringWithSeparator]: https://docs.rs/serde_with/2.3.1/serde_with/struct.StringWithSeparator.html
184+
[user guide]: https://docs.rs/serde_with/2.3.1/serde_with/guide/index.html
185185
[with-annotation]: https://serde.rs/field-attrs.html#with
186-
[as-annotation]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html
186+
[as-annotation]: https://docs.rs/serde_with/2.3.1/serde_with/guide/serde_as/index.html
187187

188188
## License
189189

serde_with/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
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+
## [2.3.1] - 2023-03-10
11+
1012
### Fixed
1113

1214
* Undo the changes to the trait bound for `Seq`. (#570, #571)

serde_with/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
]
77
name = "serde_with"
88
rust-version = "1.60"
9-
version = "2.3.0"
9+
version = "2.3.1"
1010

1111
categories = ["encoding", "no-std"]
1212
description = "Custom de/serialization functions for Rust's serde"
@@ -67,7 +67,7 @@ hex = {version = "0.4.3", optional = true, default-features = false}
6767
indexmap_1 = {package = "indexmap", version = "1.8", optional = true, default-features = false, features = ["serde-1"]}
6868
serde = {version = "1.0.122", default-features = false, features = ["derive"]}
6969
serde_json = {version = "1.0.45", optional = true, default-features = false}
70-
serde_with_macros = {path = "../serde_with_macros", version = "=2.3.0", optional = true}
70+
serde_with_macros = {path = "../serde_with_macros", version = "=2.3.1", optional = true}
7171
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
7272

7373
[dev-dependencies]

serde_with/src/lib.rs

Lines changed: 13 additions & 13 deletions
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/2.3.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with/2.3.1/")]
3030
#![cfg_attr(docsrs, feature(doc_cfg))]
3131
#![allow(
3232
// clippy is broken and shows wrong warnings
@@ -275,14 +275,14 @@
275275
//! # }
276276
//! ```
277277
//!
278-
//! [`DisplayFromStr`]: https://docs.rs/serde_with/2.3.0/serde_with/struct.DisplayFromStr.html
279-
//! [`with_prefix!`]: https://docs.rs/serde_with/2.3.0/serde_with/macro.with_prefix.html
280-
//! [feature flags]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
281-
//! [skip_serializing_none]: https://docs.rs/serde_with/2.3.0/serde_with/attr.skip_serializing_none.html
282-
//! [StringWithSeparator]: https://docs.rs/serde_with/2.3.0/serde_with/struct.StringWithSeparator.html
283-
//! [user guide]: https://docs.rs/serde_with/2.3.0/serde_with/guide/index.html
278+
//! [`DisplayFromStr`]: https://docs.rs/serde_with/2.3.1/serde_with/struct.DisplayFromStr.html
279+
//! [`with_prefix!`]: https://docs.rs/serde_with/2.3.1/serde_with/macro.with_prefix.html
280+
//! [feature flags]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
281+
//! [skip_serializing_none]: https://docs.rs/serde_with/2.3.1/serde_with/attr.skip_serializing_none.html
282+
//! [StringWithSeparator]: https://docs.rs/serde_with/2.3.1/serde_with/struct.StringWithSeparator.html
283+
//! [user guide]: https://docs.rs/serde_with/2.3.1/serde_with/guide/index.html
284284
//! [with-annotation]: https://serde.rs/field-attrs.html#with
285-
//! [as-annotation]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html
285+
//! [as-annotation]: https://docs.rs/serde_with/2.3.1/serde_with/guide/serde_as/index.html
286286
287287
#[cfg(feature = "alloc")]
288288
extern crate alloc;
@@ -481,7 +481,7 @@ pub use serde_with_macros::*;
481481
/// # }
482482
/// ```
483483
///
484-
/// [serde_as]: https://docs.rs/serde_with/2.3.0/serde_with/attr.serde_as.html
484+
/// [serde_as]: https://docs.rs/serde_with/2.3.1/serde_with/attr.serde_as.html
485485
pub struct As<T: ?Sized>(PhantomData<T>);
486486

487487
/// Adapter to convert from `serde_as` to the serde traits.
@@ -909,7 +909,7 @@ pub struct BytesOrString;
909909
/// ```
910910
///
911911
/// [`chrono::Duration`]: ::chrono_0_4::Duration
912-
/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
912+
/// [feature flag]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
913913
pub struct DurationSeconds<
914914
FORMAT: formats::Format = u64,
915915
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1037,7 +1037,7 @@ pub struct DurationSeconds<
10371037
/// ```
10381038
///
10391039
/// [`chrono::Duration`]: ::chrono_0_4::Duration
1040-
/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
1040+
/// [feature flag]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
10411041
pub struct DurationSecondsWithFrac<
10421042
FORMAT: formats::Format = f64,
10431043
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1233,7 +1233,7 @@ pub struct DurationNanoSecondsWithFrac<
12331233
/// [`SystemTime`]: std::time::SystemTime
12341234
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
12351235
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
1236-
/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
1236+
/// [feature flag]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
12371237
pub struct TimestampSeconds<
12381238
FORMAT: formats::Format = i64,
12391239
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1371,7 +1371,7 @@ pub struct TimestampSeconds<
13711371
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
13721372
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
13731373
/// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
1374-
/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html
1374+
/// [feature flag]: https://docs.rs/serde_with/2.3.1/serde_with/guide/feature_flags/index.html
13751375
pub struct TimestampSecondsWithFrac<
13761376
FORMAT: formats::Format = f64,
13771377
STRICTNESS: formats::Strictness = formats::Strict,

serde_with_macros/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [2.3.1] - 2023-03-10
11+
12+
No changes.
13+
1014
## [2.3.0] - 2023-03-09
1115

1216
No changes.

serde_with_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.60"
5-
version = "2.3.0"
5+
version = "2.3.1"
66

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

serde_with_macros/src/lib.rs

Lines changed: 5 additions & 5 deletions
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/2.3.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with_macros/2.3.1/")]
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
@@ -578,8 +578,8 @@ fn field_has_attribute(field: &Field, namespace: &str, name: &str) -> bool {
578578
/// }
579579
/// ```
580580
///
581-
/// [`serde_as`]: https://docs.rs/serde_with/2.3.0/serde_with/guide/index.html
582-
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
581+
/// [`serde_as`]: https://docs.rs/serde_with/2.3.1/serde_with/guide/index.html
582+
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/2.3.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
583583
#[proc_macro_attribute]
584584
pub fn serde_as(args: TokenStream, input: TokenStream) -> TokenStream {
585585
#[derive(FromMeta)]
@@ -969,7 +969,7 @@ fn has_type_embedded(type_: &Type, embedded_type: &syn::Ident) -> bool {
969969
/// [`Display`]: std::fmt::Display
970970
/// [`FromStr`]: std::str::FromStr
971971
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
972-
/// [serde-as-crate]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
972+
/// [serde-as-crate]: https://docs.rs/serde_with/2.3.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
973973
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
974974
#[proc_macro_derive(DeserializeFromStr, attributes(serde_with))]
975975
pub fn derive_deserialize_fromstr(item: TokenStream) -> TokenStream {
@@ -1089,7 +1089,7 @@ fn deserialize_fromstr(mut input: DeriveInput, serde_with_crate_path: Path) -> T
10891089
/// [`Display`]: std::fmt::Display
10901090
/// [`FromStr`]: std::str::FromStr
10911091
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1092-
/// [serde-as-crate]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1092+
/// [serde-as-crate]: https://docs.rs/serde_with/2.3.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
10931093
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
10941094
#[proc_macro_derive(SerializeDisplay, attributes(serde_with))]
10951095
pub fn derive_serialize_display(item: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)