Cargo Features

d4 = { version = "0.3.9", default-features = false, features = ["depth_profiler", "task", "mapped_io", "writer", "http_reader", "seq-task"] }
default = depth_profiler, http_reader, task, writer

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

depth_profiler default = d4-hts, rand, rayon
task default = mapped_io, rayon

Affects d4::task

mapped_io task writer

Enables mapped_io of d4-framefile

Affects d4::ptab, stab::mapped

writer default = mapped_io

Affects dict::EncodeResult

http_reader default = reqwest

Affects ssio::http


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

rand depth_profiler

With default features

rayon depth_profiler task
d4-hts depth_profiler
reqwest http_reader

With rustls-tls and blocking