|
26 | 26 | #![doc(test(attr(warn(rust_2018_idioms))))] |
27 | 27 | // Not needed for 2018 edition and conflicts with `rust_2018_idioms` |
28 | 28 | #![doc(test(no_crate_inject))] |
29 | | -#![doc(html_root_url = "https://docs.rs/serde_with/2.0.0")] |
| 29 | +#![doc(html_root_url = "https://docs.rs/serde_with/2.0.1")] |
30 | 30 | #![cfg_attr(docsrs, feature(doc_cfg))] |
31 | 31 | #![allow( |
32 | 32 | // clippy is broken and shows wrong warnings |
|
270 | 270 | //! # } |
271 | 271 | //! ``` |
272 | 272 | //! |
273 | | -//! [`DisplayFromStr`]: https://docs.rs/serde_with/2.0.0/serde_with/struct.DisplayFromStr.html |
274 | | -//! [`with_prefix!`]: https://docs.rs/serde_with/2.0.0/serde_with/macro.with_prefix.html |
275 | | -//! [feature flags]: https://docs.rs/serde_with/2.0.0/serde_with/guide/feature_flags/index.html |
276 | | -//! [skip_serializing_none]: https://docs.rs/serde_with/2.0.0/serde_with/attr.skip_serializing_none.html |
277 | | -//! [StringWithSeparator]: https://docs.rs/serde_with/2.0.0/serde_with/struct.StringWithSeparator.html |
278 | | -//! [user guide]: https://docs.rs/serde_with/2.0.0/serde_with/guide/index.html |
| 273 | +//! [`DisplayFromStr`]: https://docs.rs/serde_with/2.0.1/serde_with/struct.DisplayFromStr.html |
| 274 | +//! [`with_prefix!`]: https://docs.rs/serde_with/2.0.1/serde_with/macro.with_prefix.html |
| 275 | +//! [feature flags]: https://docs.rs/serde_with/2.0.1/serde_with/guide/feature_flags/index.html |
| 276 | +//! [skip_serializing_none]: https://docs.rs/serde_with/2.0.1/serde_with/attr.skip_serializing_none.html |
| 277 | +//! [StringWithSeparator]: https://docs.rs/serde_with/2.0.1/serde_with/struct.StringWithSeparator.html |
| 278 | +//! [user guide]: https://docs.rs/serde_with/2.0.1/serde_with/guide/index.html |
279 | 279 | //! [with-annotation]: https://serde.rs/field-attrs.html#with |
280 | | -//! [as-annotation]: https://docs.rs/serde_with/2.0.0/serde_with/guide/serde_as/index.html |
| 280 | +//! [as-annotation]: https://docs.rs/serde_with/2.0.1/serde_with/guide/serde_as/index.html |
281 | 281 |
|
282 | 282 | #[cfg(feature = "alloc")] |
283 | 283 | extern crate alloc; |
@@ -471,7 +471,7 @@ pub use serde_with_macros::*; |
471 | 471 | /// # } |
472 | 472 | /// ``` |
473 | 473 | /// |
474 | | -/// [serde_as]: https://docs.rs/serde_with/2.0.0/serde_with/attr.serde_as.html |
| 474 | +/// [serde_as]: https://docs.rs/serde_with/2.0.1/serde_with/attr.serde_as.html |
475 | 475 | pub struct As<T: ?Sized>(PhantomData<T>); |
476 | 476 |
|
477 | 477 | /// Adapter to convert from `serde_as` to the serde traits. |
@@ -899,7 +899,7 @@ pub struct BytesOrString; |
899 | 899 | /// ``` |
900 | 900 | /// |
901 | 901 | /// [`chrono::Duration`]: ::chrono_0_4::Duration |
902 | | -/// [feature flag]: https://docs.rs/serde_with/2.0.0/serde_with/guide/feature_flags/index.html |
| 902 | +/// [feature flag]: https://docs.rs/serde_with/2.0.1/serde_with/guide/feature_flags/index.html |
903 | 903 | pub struct DurationSeconds< |
904 | 904 | FORMAT: formats::Format = u64, |
905 | 905 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1027,7 +1027,7 @@ pub struct DurationSeconds< |
1027 | 1027 | /// ``` |
1028 | 1028 | /// |
1029 | 1029 | /// [`chrono::Duration`]: ::chrono_0_4::Duration |
1030 | | -/// [feature flag]: https://docs.rs/serde_with/2.0.0/serde_with/guide/feature_flags/index.html |
| 1030 | +/// [feature flag]: https://docs.rs/serde_with/2.0.1/serde_with/guide/feature_flags/index.html |
1031 | 1031 | pub struct DurationSecondsWithFrac< |
1032 | 1032 | FORMAT: formats::Format = f64, |
1033 | 1033 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1223,7 +1223,7 @@ pub struct DurationNanoSecondsWithFrac< |
1223 | 1223 | /// [`SystemTime`]: std::time::SystemTime |
1224 | 1224 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime |
1225 | 1225 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime |
1226 | | -/// [feature flag]: https://docs.rs/serde_with/2.0.0/serde_with/guide/feature_flags/index.html |
| 1226 | +/// [feature flag]: https://docs.rs/serde_with/2.0.1/serde_with/guide/feature_flags/index.html |
1227 | 1227 | pub struct TimestampSeconds< |
1228 | 1228 | FORMAT: formats::Format = i64, |
1229 | 1229 | STRICTNESS: formats::Strictness = formats::Strict, |
@@ -1361,7 +1361,7 @@ pub struct TimestampSeconds< |
1361 | 1361 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime |
1362 | 1362 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime |
1363 | 1363 | /// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime |
1364 | | -/// [feature flag]: https://docs.rs/serde_with/2.0.0/serde_with/guide/feature_flags/index.html |
| 1364 | +/// [feature flag]: https://docs.rs/serde_with/2.0.1/serde_with/guide/feature_flags/index.html |
1365 | 1365 | pub struct TimestampSecondsWithFrac< |
1366 | 1366 | FORMAT: formats::Format = f64, |
1367 | 1367 | STRICTNESS: formats::Strictness = formats::Strict, |
|
0 commit comments