|
23 | 23 | #![doc(test(attr(warn(rust_2018_idioms))))] |
24 | 24 | // Not needed for 2018 edition and conflicts with `rust_2018_idioms` |
25 | 25 | #![doc(test(no_crate_inject))] |
26 | | -#![doc(html_root_url = "https://docs.rs/serde_with/1.5.1")] |
| 26 | +#![doc(html_root_url = "https://docs.rs/serde_with/1.6.0")] |
27 | 27 | // Rust 1.45: introduction of `strip_prefix` used by clippy::manual_strip |
28 | 28 | #![allow(clippy::unknown_clippy_lints)] |
29 | 29 |
|
|
52 | 52 | //! |
53 | 53 | //! ```toml |
54 | 54 | //! [dependencies.serde_with] |
55 | | -//! version = "1.5.1" |
| 55 | +//! version = "1.6.0" |
56 | 56 | //! features = [ "..." ] |
57 | 57 | //! ``` |
58 | 58 | //! |
|
191 | 191 | //! # } |
192 | 192 | //! ``` |
193 | 193 | //! |
194 | | -//! [`DisplayFromStr`]: https://docs.rs/serde_with/1.5.1/serde_with/struct.DisplayFromStr.html |
195 | | -//! [`with_prefix!`]: https://docs.rs/serde_with/1.5.1/serde_with/macro.with_prefix.html |
196 | | -//! [display_fromstr]: https://docs.rs/serde_with/1.5.1/serde_with/rust/display_fromstr/index.html |
197 | | -//! [feature flags]: https://docs.rs/serde_with/1.5.1/serde_with/guide/feature_flags/index.html |
198 | | -//! [skip_serializing_none]: https://docs.rs/serde_with/1.5.1/serde_with/attr.skip_serializing_none.html |
199 | | -//! [StringWithSeparator]: https://docs.rs/serde_with/1.5.1/serde_with/rust/struct.StringWithSeparator.html |
200 | | -//! [user guide]: https://docs.rs/serde_with/1.5.1/serde_with/guide/index.html |
| 194 | +//! [`DisplayFromStr`]: https://docs.rs/serde_with/1.6.0/serde_with/struct.DisplayFromStr.html |
| 195 | +//! [`with_prefix!`]: https://docs.rs/serde_with/1.6.0/serde_with/macro.with_prefix.html |
| 196 | +//! [display_fromstr]: https://docs.rs/serde_with/1.6.0/serde_with/rust/display_fromstr/index.html |
| 197 | +//! [feature flags]: https://docs.rs/serde_with/1.6.0/serde_with/guide/feature_flags/index.html |
| 198 | +//! [skip_serializing_none]: https://docs.rs/serde_with/1.6.0/serde_with/attr.skip_serializing_none.html |
| 199 | +//! [StringWithSeparator]: https://docs.rs/serde_with/1.6.0/serde_with/rust/struct.StringWithSeparator.html |
| 200 | +//! [user guide]: https://docs.rs/serde_with/1.6.0/serde_with/guide/index.html |
201 | 201 | //! [with-annotation]: https://serde.rs/field-attrs.html#with |
202 | 202 |
|
203 | 203 | #[doc(hidden)] |
@@ -333,7 +333,7 @@ impl Separator for CommaSeparator { |
333 | 333 | /// # } |
334 | 334 | /// ``` |
335 | 335 | /// |
336 | | -/// [serde_as]: https://docs.rs/serde_with/1.5.1/serde_with/attr.serde_as.html |
| 336 | +/// [serde_as]: https://docs.rs/serde_with/1.6.0/serde_with/attr.serde_as.html |
337 | 337 | #[derive(Copy, Clone, Debug, Default)] |
338 | 338 | pub struct As<T>(PhantomData<T>); |
339 | 339 |
|
@@ -799,7 +799,7 @@ pub struct BytesOrString; |
799 | 799 | /// ``` |
800 | 800 | /// |
801 | 801 | /// [`chrono::Duration`]: chrono_crate::Duration |
802 | | -/// [feature flag]: https://docs.rs/serde_with/1.5.1/serde_with/guide/feature_flags/index.html |
| 802 | +/// [feature flag]: https://docs.rs/serde_with/1.6.0/serde_with/guide/feature_flags/index.html |
803 | 803 | #[derive(Copy, Clone, Debug, Default)] |
804 | 804 | pub struct DurationSeconds< |
805 | 805 | FORMAT: formats::Format = u64, |
@@ -925,7 +925,7 @@ pub struct DurationSeconds< |
925 | 925 | /// ``` |
926 | 926 | /// |
927 | 927 | /// [`chrono::Duration`]: chrono_crate::Duration |
928 | | -/// [feature flag]: https://docs.rs/serde_with/1.5.1/serde_with/guide/feature_flags/index.html |
| 928 | +/// [feature flag]: https://docs.rs/serde_with/1.6.0/serde_with/guide/feature_flags/index.html |
929 | 929 | #[derive(Copy, Clone, Debug, Default)] |
930 | 930 | pub struct DurationSecondsWithFrac< |
931 | 931 | FORMAT: formats::Format = f64, |
@@ -1068,7 +1068,7 @@ pub struct DurationSecondsWithFrac< |
1068 | 1068 | /// |
1069 | 1069 | /// [`SystemTime`]: std::time::SystemTime |
1070 | 1070 | /// [DateTime]: chrono_crate::DateTime |
1071 | | -/// [feature flag]: https://docs.rs/serde_with/1.5.1/serde_with/guide/feature_flags/index.html |
| 1071 | +/// [feature flag]: https://docs.rs/serde_with/1.6.0/serde_with/guide/feature_flags/index.html |
1072 | 1072 | #[derive(Copy, Clone, Debug, Default)] |
1073 | 1073 | pub struct TimestampSeconds< |
1074 | 1074 | FORMAT: formats::Format = i64, |
@@ -1197,7 +1197,7 @@ pub struct TimestampSeconds< |
1197 | 1197 | /// |
1198 | 1198 | /// [`SystemTime`]: std::time::SystemTime |
1199 | 1199 | /// [DateTime]: chrono_crate::DateTime |
1200 | | -/// [feature flag]: https://docs.rs/serde_with/1.5.1/serde_with/guide/feature_flags/index.html |
| 1200 | +/// [feature flag]: https://docs.rs/serde_with/1.6.0/serde_with/guide/feature_flags/index.html |
1201 | 1201 | #[derive(Copy, Clone, Debug, Default)] |
1202 | 1202 | pub struct TimestampSecondsWithFrac< |
1203 | 1203 | FORMAT: formats::Format = f64, |
|
0 commit comments