Cargo Features

[dependencies]
adstxt = { version = "0.1.0", default-features = false, features = ["parser", "crawler"] }
default = parser

The parser feature is set by default whenever adstxt is added without default-features = false somewhere in the dependency tree.

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