Cargo Features

[dependencies]
phetch = { version = "1.2.0", default-features = false, features = ["tls", "tor"] }
default = tls, tor

These default features are set whenever phetch is added without default-features = false somewhere in the dependency tree.

tls default = native-tls

Affects phetch::TLS_SUPPORT

tor default = tor-stream

Affects phetch::TOR_SUPPORT

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.

tor-stream tor

Enables tor-stream ^0.2.0

native-tls tls