|
25 | 25 | #![doc(test(attr(warn(rust_2018_idioms))))]
|
26 | 26 | // Not needed for 2018 edition and conflicts with `rust_2018_idioms`
|
27 | 27 | #![doc(test(no_crate_inject))]
|
28 |
| -#![doc(html_root_url = "https://docs.rs/serde_with/1.12.1")] |
| 28 | +#![doc(html_root_url = "https://docs.rs/serde_with/1.13.0")] |
29 | 29 | #![cfg_attr(docsrs, feature(doc_cfg))]
|
30 | 30 | // clippy is broken and shows wrong warnings
|
31 | 31 | // clippy on stable does not know yet about the lint name
|
|
66 | 66 | //!
|
67 | 67 | //! ```toml
|
68 | 68 | //! [dependencies.serde_with]
|
69 |
| -//! version = "1.12.1" |
| 69 | +//! version = "1.13.0" |
70 | 70 | //! features = [ "..." ]
|
71 | 71 | //! ```
|
72 | 72 | //!
|
|
243 | 243 | //! # }
|
244 | 244 | //! ```
|
245 | 245 | //!
|
246 |
| -//! [`DisplayFromStr`]: https://docs.rs/serde_with/1.12.1/serde_with/struct.DisplayFromStr.html |
247 |
| -//! [`with_prefix!`]: https://docs.rs/serde_with/1.12.1/serde_with/macro.with_prefix.html |
248 |
| -//! [display_fromstr]: https://docs.rs/serde_with/1.12.1/serde_with/rust/display_fromstr/index.html |
249 |
| -//! [feature flags]: https://docs.rs/serde_with/1.12.1/serde_with/guide/feature_flags/index.html |
250 |
| -//! [skip_serializing_none]: https://docs.rs/serde_with/1.12.1/serde_with/attr.skip_serializing_none.html |
251 |
| -//! [StringWithSeparator]: https://docs.rs/serde_with/1.12.1/serde_with/rust/struct.StringWithSeparator.html |
252 |
| -//! [user guide]: https://docs.rs/serde_with/1.12.1/serde_with/guide/index.html |
| 246 | +//! [`DisplayFromStr`]: https://docs.rs/serde_with/1.13.0/serde_with/struct.DisplayFromStr.html |
| 247 | +//! [`with_prefix!`]: https://docs.rs/serde_with/1.13.0/serde_with/macro.with_prefix.html |
| 248 | +//! [display_fromstr]: https://docs.rs/serde_with/1.13.0/serde_with/rust/display_fromstr/index.html |
| 249 | +//! [feature flags]: https://docs.rs/serde_with/1.13.0/serde_with/guide/feature_flags/index.html |
| 250 | +//! [skip_serializing_none]: https://docs.rs/serde_with/1.13.0/serde_with/attr.skip_serializing_none.html |
| 251 | +//! [StringWithSeparator]: https://docs.rs/serde_with/1.13.0/serde_with/rust/struct.StringWithSeparator.html |
| 252 | +//! [user guide]: https://docs.rs/serde_with/1.13.0/serde_with/guide/index.html |
253 | 253 | //! [with-annotation]: https://serde.rs/field-attrs.html#with
|
254 |
| -//! [as-annotation]: https://docs.rs/serde_with/1.12.1/serde_with/guide/serde_as/index.html |
| 254 | +//! [as-annotation]: https://docs.rs/serde_with/1.13.0/serde_with/guide/serde_as/index.html |
255 | 255 |
|
256 | 256 | #[doc(hidden)]
|
257 | 257 | pub extern crate serde;
|
@@ -399,7 +399,7 @@ impl Separator for CommaSeparator {
|
399 | 399 | /// # }
|
400 | 400 | /// ```
|
401 | 401 | ///
|
402 |
| -/// [serde_as]: https://docs.rs/serde_with/1.12.1/serde_with/attr.serde_as.html |
| 402 | +/// [serde_as]: https://docs.rs/serde_with/1.13.0/serde_with/attr.serde_as.html |
403 | 403 | #[derive(Copy, Clone, Debug, Default)]
|
404 | 404 | pub struct As<T: ?Sized>(PhantomData<T>);
|
405 | 405 |
|
@@ -865,7 +865,7 @@ pub struct BytesOrString;
|
865 | 865 | /// ```
|
866 | 866 | ///
|
867 | 867 | /// [`chrono::Duration`]: chrono_crate::Duration
|
868 |
| -/// [feature flag]: https://docs.rs/serde_with/1.12.1/serde_with/guide/feature_flags/index.html |
| 868 | +/// [feature flag]: https://docs.rs/serde_with/1.13.0/serde_with/guide/feature_flags/index.html |
869 | 869 | #[derive(Copy, Clone, Debug, Default)]
|
870 | 870 | pub struct DurationSeconds<
|
871 | 871 | FORMAT: formats::Format = u64,
|
@@ -991,7 +991,7 @@ pub struct DurationSeconds<
|
991 | 991 | /// ```
|
992 | 992 | ///
|
993 | 993 | /// [`chrono::Duration`]: chrono_crate::Duration
|
994 |
| -/// [feature flag]: https://docs.rs/serde_with/1.12.1/serde_with/guide/feature_flags/index.html |
| 994 | +/// [feature flag]: https://docs.rs/serde_with/1.13.0/serde_with/guide/feature_flags/index.html |
995 | 995 | #[derive(Copy, Clone, Debug, Default)]
|
996 | 996 | pub struct DurationSecondsWithFrac<
|
997 | 997 | FORMAT: formats::Format = f64,
|
@@ -1188,7 +1188,7 @@ pub struct DurationNanoSecondsWithFrac<
|
1188 | 1188 | ///
|
1189 | 1189 | /// [`SystemTime`]: std::time::SystemTime
|
1190 | 1190 | /// [DateTime]: chrono_crate::DateTime
|
1191 |
| -/// [feature flag]: https://docs.rs/serde_with/1.12.1/serde_with/guide/feature_flags/index.html |
| 1191 | +/// [feature flag]: https://docs.rs/serde_with/1.13.0/serde_with/guide/feature_flags/index.html |
1192 | 1192 | #[derive(Copy, Clone, Debug, Default)]
|
1193 | 1193 | pub struct TimestampSeconds<
|
1194 | 1194 | FORMAT: formats::Format = i64,
|
@@ -1320,7 +1320,7 @@ pub struct TimestampSeconds<
|
1320 | 1320 | /// [`SystemTime`]: std::time::SystemTime
|
1321 | 1321 | /// [DateTime]: chrono_crate::DateTime
|
1322 | 1322 | /// [NaiveDateTime]: chrono_crate::NaiveDateTime
|
1323 |
| -/// [feature flag]: https://docs.rs/serde_with/1.12.1/serde_with/guide/feature_flags/index.html |
| 1323 | +/// [feature flag]: https://docs.rs/serde_with/1.13.0/serde_with/guide/feature_flags/index.html |
1324 | 1324 | #[derive(Copy, Clone, Debug, Default)]
|
1325 | 1325 | pub struct TimestampSecondsWithFrac<
|
1326 | 1326 | FORMAT: formats::Format = f64,
|
|
0 commit comments