Cargo Features

addr = { version = "0.15.6", default-features = false, features = ["std", "idna", "net", "psl", "publicsuffix", "serde"] }
default = psl, std

These default features are set whenever addr is added without default-features = false somewhere in the dependency tree.

std default
net = no-std-net

Affects addr::net

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

psl default

Affects addr::psl

publicsuffix implicit feature

Enables publicsuffix


Extract root domain and suffix from a domain name

Affects addr::publicsuffix

serde implicit feature

Enables serde


A generic serialization/deserialization framework

no-std-net net?

Enables no-std-net ^0.5.0