Cargo Features
[dependencies]
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
somewhere in the dependency tree.default-features = false - std default
- idna
- 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. These features may have been created by mistake, and this functionality may be removed in the future.
- psl default
-
Affects
addr::psl
… - publicsuffix implicit feature
-
Enables publicsuffix
publicsuffix:
Extract root domain and suffix from a domain name
Affects
addr::publicsuffix
… - serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- no-std-net net?
-
Enables no-std-net ^0.5.0