Releases: jonasbb/serde_with
Releases · jonasbb/serde_with
serde_with v3.20.0
Added
- Add support for
base58encoding, similar to the existingbase64setup by @mitinarseny (#943)
Fixed
- Extend
base64withschemarssupport by @mitinarseny (#9949)
serde_with v3.19.0
Added
-
Add support for
hashbrownv0.17 (#940)This extends the existing support for
hashbrownto the newly released version.
serde_with v3.18.0
Added
- Support
OneOrManywith more sequence and set types (#929)
Changed
- Bump MSRV to 1.88 due to the
darlingdependency
serde_with v3.17.0
serde_with v3.16.1
serde_with v3.16.0
Added
- Added support for
smallvecv1 under thesmallvec_1feature flag by @isharma228 (#895) - Add
JsonSchemaAsimplementation forjson::JsonStringby @yogevm15 (#901)
serde_with v3.15.1
Fixed
- Fix building of the documentation by updating references to use
serde_core.
serde_with v3.15.0
Added
-
Added error inspection to
VecSkipErrorandMapSkipErrorby @michelhe (#878)
This allows interacting with the previously hidden error, for example for logging.
Checkout the newly added example to both types. -
Allow documenting the types generated by
serde_conv!.
Theserde_conv!macro now acceps outer attributes before the optional visibility modifier.
This allow adding doc comments in the shape of#[doc = "..."]or any other attributes, such as lint modifiers.serde_conv!( #[doc = "Serialize bools as string"] #[allow(dead_code)] pub BoolAsString, bool, |x: &bool| ::std::string::ToString::to_string(x), |x: ::std::string::String| x.parse() );
-
Add support for
hashbrownv0.16 (#877)This extends the existing support for
hashbrownv0.14 and v0.15 to the newly released version.
Changed
- Bump MSRV to 1.76, since that is required for
tomldev-dependency.
serde_with v3.14.1
Fixed
- Show macro expansion in the docs.rs generated rustdoc.
Since macros are used to generate trait implementations, this is useful to understand the exact generated code.
serde_with v3.14.0
Added
- Add support for
Range,RangeFrom,RangeTo,RangeInclusive(#851)
RangeToInclusiveis currently unsupported by serde. - Add
schemarsimplementations forBound,Range,RangeFrom,RangeTo,RangeInclusive. - Added support for
schemarsv1 under theschemars_1feature flag