Cargo Features

[dependencies]
trustfall_rustdoc = { version = "0.38.0", default-features = false, features = ["rayon", "rustc-hash", "v56", "v57"] }
default = v56, v57

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

rayon

Enables rayon of optional trustfall-rustdoc-adapter >=56.2.0, <56.3.0 and optional trustfall-rustdoc-adapter

trustfall-rustdoc-adapter:

Enable rayon for speeding up building IndexedCrate, this massively improves performance on big crates, but may impact performance on small crates and definitely increases the memory usage

rustc-hash

Enables rustc-hash of optional trustfall-rustdoc-adapter >=56.2.0, <56.3.0 and optional trustfall-rustdoc-adapter

trustfall-rustdoc-adapter:

Use rustc-hash::{FxHashMap, FxHashSet} internally for improved performance

v56 default

Keep this list of rustdoc version-specific features at the bottom,
to ensure our version-updating automation works correctly.

Enables trustfall-rustdoc-adapter >=56.2.0, <56.3.0

v57 default

Enables trustfall-rustdoc-adapter