Skip to content

Commit 76cf252

Browse files
authored
Bump version to v3.6.1 (#696)
2 parents 6211d20 + 6872fa8 commit 76cf252

File tree

8 files changed

+41
-29
lines changed

8 files changed

+41
-29
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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
readme = "README.md"
1313
repository = "https://github.com/jonasbb/serde_with/"
1414
rust-version = "1.65"
15-
version = "3.6.0"
15+
version = "3.6.1"
1616

1717
[workspace.metadata.release]
1818
consolidate-commits = true

README.md

Lines changed: 7 additions & 7 deletions
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.6.0/serde_with/struct.DisplayFromStr.html
187-
[`with_prefix!`]: https://docs.rs/serde_with/3.6.0/serde_with/macro.with_prefix.html
188-
[feature flags]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
189-
[skip_serializing_none]: https://docs.rs/serde_with/3.6.0/serde_with/attr.skip_serializing_none.html
190-
[StringWithSeparator]: https://docs.rs/serde_with/3.6.0/serde_with/struct.StringWithSeparator.html
191-
[user guide]: https://docs.rs/serde_with/3.6.0/serde_with/guide/index.html
186+
[`DisplayFromStr`]: https://docs.rs/serde_with/3.6.1/serde_with/struct.DisplayFromStr.html
187+
[`with_prefix!`]: https://docs.rs/serde_with/3.6.1/serde_with/macro.with_prefix.html
188+
[feature flags]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
189+
[skip_serializing_none]: https://docs.rs/serde_with/3.6.1/serde_with/attr.skip_serializing_none.html
190+
[StringWithSeparator]: https://docs.rs/serde_with/3.6.1/serde_with/struct.StringWithSeparator.html
191+
[user guide]: https://docs.rs/serde_with/3.6.1/serde_with/guide/index.html
192192
[with-annotation]: https://serde.rs/field-attrs.html#with
193-
[as-annotation]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html
193+
[as-annotation]: https://docs.rs/serde_with/3.6.1/serde_with/guide/serde_as/index.html
194194

195195
## License
196196

serde_with/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [3.6.1] - 2024-02-08
11+
12+
### Changed
13+
14+
* Eliminate dependency on serde's "derive" feature by @dtolnay (#694)
15+
This allows parallel compilation of `serde` and `serde_derive` which can speed up the wallclock time.
16+
It requires that downstream crates do not use the "derive" feature either.
17+
1018
## [3.6.0] - 2024-01-30
1119

1220
### Added

serde_with/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ schemars_0_8 = {package = "schemars", version = "0.8.16", optional = true, defau
133133
serde = {version = "1.0.152", default-features = false}
134134
serde_derive = "1.0.152"
135135
serde_json = {version = "1.0.45", optional = true, default-features = false}
136-
serde_with_macros = {path = "../serde_with_macros", version = "=3.6.0", optional = true}
136+
serde_with_macros = {path = "../serde_with_macros", version = "=3.6.1", optional = true}
137137
time_0_3 = {package = "time", version = "~0.3.11", optional = true, default-features = false}
138138

139139
[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/3.6.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with/3.6.1/")]
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.6.0/serde_with/struct.DisplayFromStr.html
285-
//! [`with_prefix!`]: https://docs.rs/serde_with/3.6.0/serde_with/macro.with_prefix.html
286-
//! [feature flags]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
287-
//! [skip_serializing_none]: https://docs.rs/serde_with/3.6.0/serde_with/attr.skip_serializing_none.html
288-
//! [StringWithSeparator]: https://docs.rs/serde_with/3.6.0/serde_with/struct.StringWithSeparator.html
289-
//! [user guide]: https://docs.rs/serde_with/3.6.0/serde_with/guide/index.html
284+
//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.6.1/serde_with/struct.DisplayFromStr.html
285+
//! [`with_prefix!`]: https://docs.rs/serde_with/3.6.1/serde_with/macro.with_prefix.html
286+
//! [feature flags]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
287+
//! [skip_serializing_none]: https://docs.rs/serde_with/3.6.1/serde_with/attr.skip_serializing_none.html
288+
//! [StringWithSeparator]: https://docs.rs/serde_with/3.6.1/serde_with/struct.StringWithSeparator.html
289+
//! [user guide]: https://docs.rs/serde_with/3.6.1/serde_with/guide/index.html
290290
//! [with-annotation]: https://serde.rs/field-attrs.html#with
291-
//! [as-annotation]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html
291+
//! [as-annotation]: https://docs.rs/serde_with/3.6.1/serde_with/guide/serde_as/index.html
292292
293293
#[cfg(feature = "alloc")]
294294
extern crate alloc;
@@ -500,7 +500,7 @@ pub use serde_with_macros::*;
500500
/// # }
501501
/// ```
502502
///
503-
/// [serde_as]: https://docs.rs/serde_with/3.6.0/serde_with/attr.serde_as.html
503+
/// [serde_as]: https://docs.rs/serde_with/3.6.1/serde_with/attr.serde_as.html
504504
pub struct As<T: ?Sized>(PhantomData<T>);
505505

506506
/// Adapter to convert from `serde_as` to the serde traits.
@@ -975,7 +975,7 @@ pub struct BytesOrString;
975975
/// ```
976976
///
977977
/// [`chrono::Duration`]: ::chrono_0_4::Duration
978-
/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
978+
/// [feature flag]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
979979
pub struct DurationSeconds<
980980
FORMAT: formats::Format = u64,
981981
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1107,7 +1107,7 @@ pub struct DurationSeconds<
11071107
/// ```
11081108
///
11091109
/// [`chrono::Duration`]: ::chrono_0_4::Duration
1110-
/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
1110+
/// [feature flag]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
11111111
pub struct DurationSecondsWithFrac<
11121112
FORMAT: formats::Format = f64,
11131113
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1309,7 +1309,7 @@ pub struct DurationNanoSecondsWithFrac<
13091309
/// [`SystemTime`]: std::time::SystemTime
13101310
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
13111311
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
1312-
/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
1312+
/// [feature flag]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
13131313
pub struct TimestampSeconds<
13141314
FORMAT: formats::Format = i64,
13151315
STRICTNESS: formats::Strictness = formats::Strict,
@@ -1451,7 +1451,7 @@ pub struct TimestampSeconds<
14511451
/// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
14521452
/// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
14531453
/// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
1454-
/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html
1454+
/// [feature flag]: https://docs.rs/serde_with/3.6.1/serde_with/guide/feature_flags/index.html
14551455
pub struct TimestampSecondsWithFrac<
14561456
FORMAT: formats::Format = f64,
14571457
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+
## [3.6.1] - 2024-02-08
11+
12+
No changes.
13+
1014
## [3.6.0] - 2024-01-30
1115

1216
No changes.

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/3.6.0/")]
29+
#![doc(html_root_url = "https://docs.rs/serde_with_macros/3.6.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
@@ -602,8 +602,8 @@ fn field_has_attribute(field: &Field, namespace: &str, name: &str) -> bool {
602602
/// It will also work if the relevant derive is behind a `#[cfg_attr]` attribute
603603
/// and propagate the `#[cfg_attr]` to the various `#[schemars]` field attributes.
604604
///
605-
/// [`serde_as`]: https://docs.rs/serde_with/3.6.0/serde_with/guide/index.html
606-
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
605+
/// [`serde_as`]: https://docs.rs/serde_with/3.6.1/serde_with/guide/index.html
606+
/// [re-exporting `serde_as`]: https://docs.rs/serde_with/3.6.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
607607
#[proc_macro_attribute]
608608
pub fn serde_as(args: TokenStream, input: TokenStream) -> TokenStream {
609609
#[derive(FromMeta)]
@@ -1078,7 +1078,7 @@ fn has_type_embedded(type_: &Type, embedded_type: &syn::Ident) -> bool {
10781078
/// [`Display`]: std::fmt::Display
10791079
/// [`FromStr`]: std::str::FromStr
10801080
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1081-
/// [serde-as-crate]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1081+
/// [serde-as-crate]: https://docs.rs/serde_with/3.6.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
10821082
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
10831083
#[proc_macro_derive(DeserializeFromStr, attributes(serde_with))]
10841084
pub fn derive_deserialize_fromstr(item: TokenStream) -> TokenStream {
@@ -1198,7 +1198,7 @@ fn deserialize_fromstr(mut input: DeriveInput, serde_with_crate_path: Path) -> T
11981198
/// [`Display`]: std::fmt::Display
11991199
/// [`FromStr`]: std::str::FromStr
12001200
/// [cargo-toml-rename]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
1201-
/// [serde-as-crate]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html#re-exporting-serde_as
1201+
/// [serde-as-crate]: https://docs.rs/serde_with/3.6.1/serde_with/guide/serde_as/index.html#re-exporting-serde_as
12021202
/// [serde-crate]: https://serde.rs/container-attrs.html#crate
12031203
#[proc_macro_derive(SerializeDisplay, attributes(serde_with))]
12041204
pub fn derive_serialize_display(item: TokenStream) -> TokenStream {

0 commit comments

Comments
 (0)