|
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.2.0/")] |
| 29 | +#![doc(html_root_url = "https://docs.rs/serde_with/2.3.0/")] |
30 | 30 | #![cfg_attr(docsrs, feature(doc_cfg))]
|
31 | 31 | #![allow(
|
32 | 32 | // clippy is broken and shows wrong warnings
|
|
275 | 275 | //! # }
|
276 | 276 | //! ```
|
277 | 277 | //!
|
278 |
| -//! [`DisplayFromStr`]: https://docs.rs/serde_with/2.2.0/serde_with/struct.DisplayFromStr.html |
279 |
| -//! [`with_prefix!`]: https://docs.rs/serde_with/2.2.0/serde_with/macro.with_prefix.html |
280 |
| -//! [feature flags]: https://docs.rs/serde_with/2.2.0/serde_with/guide/feature_flags/index.html |
281 |
| -//! [skip_serializing_none]: https://docs.rs/serde_with/2.2.0/serde_with/attr.skip_serializing_none.html |
282 |
| -//! [StringWithSeparator]: https://docs.rs/serde_with/2.2.0/serde_with/struct.StringWithSeparator.html |
283 |
| -//! [user guide]: https://docs.rs/serde_with/2.2.0/serde_with/guide/index.html |
| 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 |
284 | 284 | //! [with-annotation]: https://serde.rs/field-attrs.html#with
|
285 |
| -//! [as-annotation]: https://docs.rs/serde_with/2.2.0/serde_with/guide/serde_as/index.html |
| 285 | +//! [as-annotation]: https://docs.rs/serde_with/2.3.0/serde_with/guide/serde_as/index.html |
286 | 286 |
|
287 | 287 | #[cfg(feature = "alloc")]
|
288 | 288 | extern crate alloc;
|
@@ -481,7 +481,7 @@ pub use serde_with_macros::*;
|
481 | 481 | /// # }
|
482 | 482 | /// ```
|
483 | 483 | ///
|
484 |
| -/// [serde_as]: https://docs.rs/serde_with/2.2.0/serde_with/attr.serde_as.html |
| 484 | +/// [serde_as]: https://docs.rs/serde_with/2.3.0/serde_with/attr.serde_as.html |
485 | 485 | pub struct As<T: ?Sized>(PhantomData<T>);
|
486 | 486 |
|
487 | 487 | /// Adapter to convert from `serde_as` to the serde traits.
|
@@ -909,7 +909,7 @@ pub struct BytesOrString;
|
909 | 909 | /// ```
|
910 | 910 | ///
|
911 | 911 | /// [`chrono::Duration`]: ::chrono_0_4::Duration
|
912 |
| -/// [feature flag]: https://docs.rs/serde_with/2.2.0/serde_with/guide/feature_flags/index.html |
| 912 | +/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html |
913 | 913 | pub struct DurationSeconds<
|
914 | 914 | FORMAT: formats::Format = u64,
|
915 | 915 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1037,7 +1037,7 @@ pub struct DurationSeconds<
|
1037 | 1037 | /// ```
|
1038 | 1038 | ///
|
1039 | 1039 | /// [`chrono::Duration`]: ::chrono_0_4::Duration
|
1040 |
| -/// [feature flag]: https://docs.rs/serde_with/2.2.0/serde_with/guide/feature_flags/index.html |
| 1040 | +/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html |
1041 | 1041 | pub struct DurationSecondsWithFrac<
|
1042 | 1042 | FORMAT: formats::Format = f64,
|
1043 | 1043 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1233,7 +1233,7 @@ pub struct DurationNanoSecondsWithFrac<
|
1233 | 1233 | /// [`SystemTime`]: std::time::SystemTime
|
1234 | 1234 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
|
1235 | 1235 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
|
1236 |
| -/// [feature flag]: https://docs.rs/serde_with/2.2.0/serde_with/guide/feature_flags/index.html |
| 1236 | +/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html |
1237 | 1237 | pub struct TimestampSeconds<
|
1238 | 1238 | FORMAT: formats::Format = i64,
|
1239 | 1239 | STRICTNESS: formats::Strictness = formats::Strict,
|
@@ -1371,7 +1371,7 @@ pub struct TimestampSeconds<
|
1371 | 1371 | /// [`chrono::DateTime<Local>`]: ::chrono_0_4::DateTime
|
1372 | 1372 | /// [`chrono::DateTime<Utc>`]: ::chrono_0_4::DateTime
|
1373 | 1373 | /// [NaiveDateTime]: ::chrono_0_4::NaiveDateTime
|
1374 |
| -/// [feature flag]: https://docs.rs/serde_with/2.2.0/serde_with/guide/feature_flags/index.html |
| 1374 | +/// [feature flag]: https://docs.rs/serde_with/2.3.0/serde_with/guide/feature_flags/index.html |
1375 | 1375 | pub struct TimestampSecondsWithFrac<
|
1376 | 1376 | FORMAT: formats::Format = f64,
|
1377 | 1377 | STRICTNESS: formats::Strictness = formats::Strict,
|
|
0 commit comments