|
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/3.5.1/")] |
| 29 | +#![doc(html_root_url = "https://docs.rs/serde_with/3.6.0/")] |
30 | 30 | #![cfg_attr(docsrs, feature(doc_cfg))]
|
31 | 31 | #![allow(
|
32 | 32 | // clippy is broken and shows wrong warnings
|
|
281 | 281 | //! # }
|
282 | 282 | //! ```
|
283 | 283 | //!
|
284 |
| -//! [`DisplayFromStr`]: https://docs.rs/serde_with/3.5.1/serde_with/struct.DisplayFromStr.html |
285 |
| -//! [`with_prefix!`]: https://docs.rs/serde_with/3.5.1/serde_with/macro.with_prefix.html |
286 |
| -//! [feature flags]: https://docs.rs/serde_with/3.5.1/serde_with/guide/feature_flags/index.html |
287 |
| -//! [skip_serializing_none]: https://docs.rs/serde_with/3.5.1/serde_with/attr.skip_serializing_none.html |
288 |
| -//! [StringWithSeparator]: https://docs.rs/serde_with/3.5.1/serde_with/struct.StringWithSeparator.html |
289 |
| -//! [user guide]: https://docs.rs/serde_with/3.5.1/serde_with/guide/index.html |
| 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 |
290 | 290 | //! [with-annotation]: https://serde.rs/field-attrs.html#with
|
291 |
| -//! [as-annotation]: https://docs.rs/serde_with/3.5.1/serde_with/guide/serde_as/index.html |
| 291 | +//! [as-annotation]: https://docs.rs/serde_with/3.6.0/serde_with/guide/serde_as/index.html |
292 | 292 |
|
293 | 293 | #[cfg(feature = "alloc")]
|
294 | 294 | extern crate alloc;
|
@@ -498,7 +498,7 @@ pub use serde_with_macros::*;
|
498 | 498 | /// # }
|
499 | 499 | /// ```
|
500 | 500 | ///
|
501 |
| -/// [serde_as]: https://docs.rs/serde_with/3.5.1/serde_with/attr.serde_as.html |
| 501 | +/// [serde_as]: https://docs.rs/serde_with/3.6.0/serde_with/attr.serde_as.html |
502 | 502 | pub struct As<T: ?Sized>(PhantomData<T>);
|
503 | 503 |
|
504 | 504 | /// Adapter to convert from `serde_as` to the serde traits.
|
@@ -973,7 +973,7 @@ pub struct BytesOrString;
|
973 | 973 | /// ```
|
974 | 974 | ///
|
975 | 975 | /// [`chrono::Duration`]: ::chrono_0_4::Duration
|
976 |
| -/// [feature flag]: https://docs.rs/serde_with/3.5.1/serde_with/guide/feature_flags/index.html |
| 976 | +/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html |
977 | 977 | pub struct DurationSeconds<
|
978 | 978 | FORMAT: formats::Format = u64,
|
979 | 979 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1105,7 +1105,7 @@ pub struct DurationSeconds<
|
1105 | 1105 | /// ```
|
1106 | 1106 | ///
|
1107 | 1107 | /// [`chrono::Duration`]: ::chrono_0_4::Duration
|
1108 |
| -/// [feature flag]: https://docs.rs/serde_with/3.5.1/serde_with/guide/feature_flags/index.html |
| 1108 | +/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html |
1109 | 1109 | pub struct DurationSecondsWithFrac<
|
1110 | 1110 | FORMAT: formats::Format = f64,
|
1111 | 1111 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1307,7 +1307,7 @@ pub struct DurationNanoSecondsWithFrac<
|
1307 | 1307 | /// [`SystemTime`]: std::time::SystemTime
|
1308 | 1308 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
|
1309 | 1309 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
|
1310 |
| -/// [feature flag]: https://docs.rs/serde_with/3.5.1/serde_with/guide/feature_flags/index.html |
| 1310 | +/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html |
1311 | 1311 | pub struct TimestampSeconds<
|
1312 | 1312 | FORMAT: formats::Format = i64,
|
1313 | 1313 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1449,7 +1449,7 @@ pub struct TimestampSeconds<
|
1449 | 1449 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
|
1450 | 1450 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
|
1451 | 1451 | /// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
|
1452 |
| -/// [feature flag]: https://docs.rs/serde_with/3.5.1/serde_with/guide/feature_flags/index.html |
| 1452 | +/// [feature flag]: https://docs.rs/serde_with/3.6.0/serde_with/guide/feature_flags/index.html |
1453 | 1453 | pub struct TimestampSecondsWithFrac<
|
1454 | 1454 | FORMAT: formats::Format = f64,
|
1455 | 1455 | STRICTNESS: formats::Strictness = formats::Strict,
|
|
0 commit comments