Cargo Features

[dependencies]
addr-spec = { version = "0.8.1", default-features = false, features = ["comments", "literals", "normalization", "white-spaces", "serde", "email_address"] }
default = normalization

The normalization feature is set by default whenever addr-spec is added without default-features = false somewhere in the dependency tree.

comments = white-spaces
literals
normalization default

Enables unicode-normalization

Affects unicode::normalize

white-spaces comments?

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

email_address implicit feature

Enables email_address

email_address:

A Rust crate providing an implementation of an RFC-compliant EmailAddress newtype