Expand description

Available Feature Flags

This crate has the following features which can be enabled. Each entry will explain the feature in more detail.

  1. base64
  2. chrono
  3. guide
  4. hex
  5. indexmap
  6. json
  7. macros
  8. time_0_3

base64

The base64 feature enables serializing data in base64 format.

This pulls in base64 as a dependency.

chrono

The chrono feature enables integration of chrono specific conversions. This includes support for the timestamp and duration types.

This pulls in chrono as a dependency.

guide

The guide feature enables inclusion of this user guide. The feature only changes the rustdoc output and enables no other effects.

hex

The hex feature enables serializing data in hex format.

This pulls in hex as a dependency.

indexmap

The indexmap feature enables implementations of indexmap specific checks. This includes support for checking duplicate keys

json

The json features enables JSON conversions from the json module.

This pulls in serde_json as a dependency.

macros

The macros features enables all helper macros and derives. It is enabled by default, since the macros provide a usability benefit, especially for serde_as.

This pulls in serde_with_macros as a dependency.

time_0_3

The time_0_3 enables integration of time v0.3 specific conversions. This includes support for the timestamp and duration types.

This pulls in time v0.3 as a dependency.