Cargo Features
[dependencies]
adstxt = { version = "0.1.0", default-features = false, features = ["parser", "crawler"] }
- default = parser
-
The
parser
feature is set by default wheneveradstxt
is added without
somewhere in the dependency tree.default-features = false - parser default
-
Affects
adstxt::parser
… - crawler = hyper, hyper-tls, log, tokio
-
Affects
adstxt::crawler
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- log crawler?
- hyper crawler?
-
Enables default features of hyper ^0.13
- hyper-tls crawler?
-
Enables hyper-tls ^0.4.3
- tokio crawler?
-
Enables rt-core and macros of tokio ^0.2