Cargo Features
[dependencies]
trustfall_rustdoc = { version = "0.22.0", default-features = false, features = ["rayon", "rustc-hash", "v35", "v36", "v37", "v39"] }
- default = v35, v36, v37, v39
-
These default features are set whenever
trustfall_rustdoc
is added without
somewhere in the dependency tree.default-features = false - rayon
-
Enables rayon of optional trustfall-rustdoc-adapter >=35.5.0, <35.6.0, optional trustfall-rustdoc-adapter >=36.5.0, <36.6.0, optional trustfall-rustdoc-adapter >=37.3.0, <37.4.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 >=35.5.0, <35.6.0, optional trustfall-rustdoc-adapter >=36.5.0, <36.6.0, optional trustfall-rustdoc-adapter >=37.3.0, <37.4.0, and optional trustfall-rustdoc-adapter
trustfall-rustdoc-adapter:
Use rustc-hash::{FxHashMap, FxHashSet} internally for improved performance
- v35 default
-
Keep this list of rustdoc version-specific features at the bottom,
to ensure our version-updating automation works correctly. - v36 default
- v37 default
- v39 default
-
Enables trustfall-rustdoc-adapter