Cargo Features
ra_ap_rust-analyzer has no features set by default.
[dependencies]
ra_ap_rust-analyzer = { version = "0.0.248", features = ["jemalloc", "force-always-assert", "sysroot-abi", "in-rust-tree", "mimalloc"] }
- jemalloc = jemallocator
-
Enables jemalloc of ra_ap_profile
- force-always-assert
-
Enables force of always-assert
always-assert:
Escalate assertion failure to panic even if
debug_assertions
are not set. - sysroot-abi in-rust-tree?
- in-rust-tree = sysroot-abi
-
Enables in-rust-tree of ra_ap_hir, ra_ap_hir_def, ra_ap_hir_ty, ra_ap_load-cargo, ra_ap_parser, and ra_ap_syntax
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- mimalloc implicit feature
-
Enables mimalloc
mimalloc:
Performance and security oriented drop-in allocator
- jemallocator not msvc jemalloc?
-
Enables tikv-jemallocator ^0.5.0