Cargo Features
[dependencies]
twistrs = { version = "0.7.0", 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.
- async-smtp smtp_lookup
-
Enables async-smtp ^0.9.0
- maxminddb geoip_lookup?
-
Enables maxminddb ^0.23.0
- whois-rust whois_lookup?