Cargo Features

[dependencies]
serde-field-default = { version = "0.2.0", default-features = false, features = ["std", "alloc", "chrono", "chrono-tz"] }
default = std

The std feature is set by default whenever serde-field-default is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Features from optional dependencies

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

Affects serde-field-default::chrono

chrono-tz implicit feature

Enables chrono-tz ^0.8

chrono-tz:

TimeZone implementations for chrono from the IANA database

Affects serde-field-default::chrono_tz