You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#! The following features enable support for types from other crates or enable additional functionality, that requires further dependencies to be pulled in.
57
-
#! These features are disabled by default to miniminze the amount of required dependencies.
57
+
#! These features are disabled by default to minimize the amount of required dependencies.
58
58
59
59
## The feature enables serializing data in base64 format.
60
60
base64 = ["dep:base64", "alloc"]
@@ -63,11 +63,11 @@ chrono = ["chrono_0_4"]
63
63
## The feature enables integration of `chrono` v0.4 specific conversions.
64
64
## This includes support for the timestamp and duration types.
65
65
## More features are available in combination with `alloc` or `std`.
66
-
## The legacy feature name `chrono` is still available for v1 compatability.
66
+
## The legacy feature name `chrono` is still available for v1 compatibility.
67
67
##
68
68
## This pulls in `chrono` v0.4 as a dependency.
69
69
chrono_0_4 = ["dep:chrono_0_4"]
70
-
## The feature enables `hashbown::{HashMap, HashSet}` as supported containers.
70
+
## The feature enables `hashbrown::{HashMap, HashSet}` as supported containers.
71
71
##
72
72
## This pulls in `hashbrown` v0.14 as a dependency.
73
73
## It enables the `alloc` feature.
@@ -82,7 +82,7 @@ hex = ["dep:hex", "alloc"]
82
82
indexmap = ["indexmap_1"]
83
83
## The feature enables implementations of `indexmap` v1 specific checks.
84
84
## This includes support for checking duplicate keys and duplicate values.
85
-
## The legacy feature name `indexmap` is still available for v1 compatability.
85
+
## The legacy feature name `indexmap` is still available for v1 compatibility.
/// Adapter to convert from `serde_as` to the serde traits.
505
505
///
506
506
/// This is the counter-type to [`As`][].
507
-
/// It can be used whenever a type implementing [`DeserializeAs`][]/[`SerializeAs`][] is required but the normal `Deserialize`/`Serialize` traits should be used.
507
+
/// It can be used whenever a type implementing [`DeserializeAs`]/[`SerializeAs`] is required but the normal [`Deserialize`](::serde::Deserialize)/[`Serialize`](::serde::Serialize) traits should be used.
508
508
/// Check [`As`] for an example.
509
509
pubstructSame;
510
510
@@ -558,7 +558,7 @@ pub struct DisplayFromStr;
558
558
559
559
/// De/Serialize a [`Option<String>`] type while transforming the empty string to [`None`]
560
560
///
561
-
/// Convert an [`Option<T>`] from/to string using [`FromStr`] and [`Display`] implementations.
561
+
/// Convert an [`Option<T>`] from/to string using [`FromStr`] and [`Display`](::core::fmt::Display) implementations.
562
562
/// An empty string is deserialized as [`None`] and a [`None`] vice versa.
563
563
///
564
564
/// # Examples
@@ -1636,8 +1636,11 @@ pub struct Bytes;
1636
1636
/// This distinction is not semantically important on the Rust side, thus both forms should deserialize into the same `Vec`.
1637
1637
///
1638
1638
/// The `OneOrMany` adapter achieves exactly this use case.
1639
-
/// The serialization behavior can be tweaked to either always serialize as a list using `PreferMany` or to serialize as the inner element if possible using `PreferOne`.
1640
-
/// By default, `PreferOne` is assumed, which can also be omitted like `OneOrMany<_>`.
1639
+
/// The serialization behavior can be tweaked to either always serialize as a list using [`PreferMany`] or to serialize as the inner element if possible using [`PreferOne`].
1640
+
/// By default, [`PreferOne`] is assumed, which can also be omitted like `OneOrMany<_>`.
0 commit comments