Cargo Features

[dependencies]
pomfrit = { version = "0.1.9", default-features = false, features = ["exporter", "http1", "http2", "serde"] }
default = http1, serde

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

exporter http1 http2? = anyhow, futures-util, hyper, log, parking_lot, tokio
http1 default = exporter

Enables http1 of hyper ^0.14

hyper:

HTTP versions

http2 = exporter

Enables http2 of hyper ^0.14

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.

anyhow exporter?
futures-util exporter?
hyper exporter? http1 http2?

Enables hyper ^0.14

log exporter?
parking_lot exporter?
serde default

Affects utils::serde_optional_url

tokio exporter?