Cargo Features
[dependencies]
twistrs = { version = "0.6.7", default-features = false, features = ["smtp_lookup", "geoip_lookup", "whois_lookup"] }
- default = smtp_lookup
-
The
smtp_lookup
feature is set by default whenevertwistrs
is added without
somewhere in the dependency tree.default-features = false - smtp_lookup default = async-smtp
- geoip_lookup = maxminddb
- whois_lookup = whois-rust
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.