Cargo Features
[dependencies]
trustfall_rustdoc = { version = "0.17.0", default-features = false, features = ["rayon", "rustc-hash", "v30", "v32", "v33", "v34", "v35", "v36"] }
- default = v30, v32, v33, v34, v35, v36
-
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 >=30.2.0, <30.3.0, optional trustfall-rustdoc-adapter >=32.2.0, <32.3.0, optional trustfall-rustdoc-adapter >=33.2.0, <33.3.0, optional trustfall-rustdoc-adapter >=34.1.0, <34.2.0, optional trustfall-rustdoc-adapter >=35.1.0, <35.2.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 >=30.2.0, <30.3.0, optional trustfall-rustdoc-adapter >=32.2.0, <32.3.0, optional trustfall-rustdoc-adapter >=33.2.0, <33.3.0, optional trustfall-rustdoc-adapter >=34.1.0, <34.2.0, optional trustfall-rustdoc-adapter >=35.1.0, <35.2.0, and optional trustfall-rustdoc-adapter
trustfall-rustdoc-adapter:
Use rustc-hash::{FxHashMap, FxHashSet} internally for improved performance
- v30 default
-
Keep this list of rustdoc version-specific features at the bottom,
to ensure our version-updating automation works correctly. - v32 default
- v33 default
- v34 default
- v35 default
- v36 default
-
Enables trustfall-rustdoc-adapter