Cargo Features
[dependencies]
trustfall_rustdoc = { version = "0.20.0", default-features = false, features = ["rayon", "rustc-hash", "v32", "v33", "v35", "v36", "v37"] }
- default = v32, v33, v35, v36, v37
-
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 >=32.5.0, <32.6.0, optional trustfall-rustdoc-adapter >=33.5.0, <33.6.0, optional trustfall-rustdoc-adapter >=35.4.0, <35.5.0, optional trustfall-rustdoc-adapter >=36.4.0, <36.5.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 >=32.5.0, <32.6.0, optional trustfall-rustdoc-adapter >=33.5.0, <33.6.0, optional trustfall-rustdoc-adapter >=35.4.0, <35.5.0, optional trustfall-rustdoc-adapter >=36.4.0, <36.5.0, and optional trustfall-rustdoc-adapter
trustfall-rustdoc-adapter:
Use rustc-hash::{FxHashMap, FxHashSet} internally for improved performance
- v32 default
-
Keep this list of rustdoc version-specific features at the bottom,
to ensure our version-updating automation works correctly. - v33 default
- v35 default
- v36 default
- v37 default
-
Enables trustfall-rustdoc-adapter