|
21 | 21 | )))] |
22 | 22 | // Not needed for 2018 edition and conflicts with `rust_2018_idioms` |
23 | 23 | #![doc(test(no_crate_inject))] |
24 | | -#![doc(html_root_url = "https://docs.rs/serde_with/3.20.0/")] |
| 24 | +#![doc(html_root_url = "https://docs.rs/serde_with/3.21.0/")] |
25 | 25 | #![cfg_attr(docsrs, feature(doc_cfg))] |
26 | 26 | #![no_std] |
27 | 27 |
|
|
253 | 253 | //! # } |
254 | 254 | //! ``` |
255 | 255 | //! |
256 | | -//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.20.0/serde_with/struct.DisplayFromStr.html |
257 | | -//! [`with_prefix!`]: https://docs.rs/serde_with/3.20.0/serde_with/macro.with_prefix.html |
258 | | -//! [`with_suffix!`]: https://docs.rs/serde_with/3.20.0/serde_with/macro.with_suffix.html |
259 | | -//! [feature flags]: https://docs.rs/serde_with/3.20.0/serde_with/guide/feature_flags/index.html |
260 | | -//! [skip_serializing_none]: https://docs.rs/serde_with/3.20.0/serde_with/attr.skip_serializing_none.html |
261 | | -//! [StringWithSeparator]: https://docs.rs/serde_with/3.20.0/serde_with/struct.StringWithSeparator.html |
262 | | -//! [user guide]: https://docs.rs/serde_with/3.20.0/serde_with/guide/index.html |
| 256 | +//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.21.0/serde_with/struct.DisplayFromStr.html |
| 257 | +//! [`with_prefix!`]: https://docs.rs/serde_with/3.21.0/serde_with/macro.with_prefix.html |
| 258 | +//! [`with_suffix!`]: https://docs.rs/serde_with/3.21.0/serde_with/macro.with_suffix.html |
| 259 | +//! [feature flags]: https://docs.rs/serde_with/3.21.0/serde_with/guide/feature_flags/index.html |
| 260 | +//! [skip_serializing_none]: https://docs.rs/serde_with/3.21.0/serde_with/attr.skip_serializing_none.html |
| 261 | +//! [StringWithSeparator]: https://docs.rs/serde_with/3.21.0/serde_with/struct.StringWithSeparator.html |
| 262 | +//! [user guide]: https://docs.rs/serde_with/3.21.0/serde_with/guide/index.html |
263 | 263 | //! [with-annotation]: https://serde.rs/field-attrs.html#with |
264 | | -//! [as-annotation]: https://docs.rs/serde_with/3.20.0/serde_with/guide/serde_as/index.html |
| 264 | +//! [as-annotation]: https://docs.rs/serde_with/3.21.0/serde_with/guide/serde_as/index.html |
265 | 265 |
|
266 | 266 | #[cfg(feature = "alloc")] |
267 | 267 | extern crate alloc; |
@@ -497,7 +497,7 @@ pub use serde_with_macros::*; |
497 | 497 | /// # } |
498 | 498 | /// ``` |
499 | 499 | /// |
500 | | -/// [serde_as]: https://docs.rs/serde_with/3.20.0/serde_with/attr.serde_as.html |
| 500 | +/// [serde_as]: https://docs.rs/serde_with/3.21.0/serde_with/attr.serde_as.html |
501 | 501 | pub struct As<T: ?Sized>(PhantomData<T>); |
502 | 502 |
|
503 | 503 | /// Adapter to convert from `serde_as` to the serde traits. |
@@ -1025,7 +1025,7 @@ pub struct BytesOrString; |
1025 | 1025 | /// ``` |
1026 | 1026 | /// |
1027 | 1027 | /// [`chrono::Duration`]: ::chrono_0_4::Duration |
1028 | | -/// [feature flag]: https://docs.rs/serde_with/3.20.0/serde_with/guide/feature_flags/index.html |
| 1028 | +/// [feature flag]: https://docs.rs/serde_with/3.21.0/serde_with/guide/feature_flags/index.html |
1029 | 1029 | pub struct DurationSeconds< |
1030 | 1030 | FORMAT: formats::Format = u64, |
1031 | 1031 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1157,7 +1157,7 @@ pub struct DurationSeconds< |
1157 | 1157 | /// ``` |
1158 | 1158 | /// |
1159 | 1159 | /// [`chrono::Duration`]: ::chrono_0_4::Duration |
1160 | | -/// [feature flag]: https://docs.rs/serde_with/3.20.0/serde_with/guide/feature_flags/index.html |
| 1160 | +/// [feature flag]: https://docs.rs/serde_with/3.21.0/serde_with/guide/feature_flags/index.html |
1161 | 1161 | pub struct DurationSecondsWithFrac< |
1162 | 1162 | FORMAT: formats::Format = f64, |
1163 | 1163 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1359,7 +1359,7 @@ pub struct DurationNanoSecondsWithFrac< |
1359 | 1359 | /// [`SystemTime`]: std::time::SystemTime |
1360 | 1360 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime |
1361 | 1361 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime |
1362 | | -/// [feature flag]: https://docs.rs/serde_with/3.20.0/serde_with/guide/feature_flags/index.html |
| 1362 | +/// [feature flag]: https://docs.rs/serde_with/3.21.0/serde_with/guide/feature_flags/index.html |
1363 | 1363 | pub struct TimestampSeconds< |
1364 | 1364 | FORMAT: formats::Format = i64, |
1365 | 1365 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1501,7 +1501,7 @@ pub struct TimestampSeconds< |
1501 | 1501 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime |
1502 | 1502 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime |
1503 | 1503 | /// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime |
1504 | | -/// [feature flag]: https://docs.rs/serde_with/3.20.0/serde_with/guide/feature_flags/index.html |
| 1504 | +/// [feature flag]: https://docs.rs/serde_with/3.21.0/serde_with/guide/feature_flags/index.html |
1505 | 1505 | pub struct TimestampSecondsWithFrac< |
1506 | 1506 | FORMAT: formats::Format = f64, |
1507 | 1507 | STRICTNESS: formats::Strictness = formats::Strict, |
|
0 commit comments