diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-08 10:34:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-08 10:34:46 +0000 |
commit | cbb42c10d6ea790c56fd69385a25425a3dc7ff64 (patch) | |
tree | d2238e7bb4f0c1d86eeb790bed957f7d222c8332 /crates/hir_def/src/data.rs | |
parent | 433ad23988df2445b6bbe5f393e0c3a701f73f13 (diff) | |
parent | 8f461ffe8f65d6338929b5d5dc40b3e0a42577f0 (diff) |
Merge #7595
7595: Add `config: &CargoConfig` parameter to `fn load_cargo(…)` r=matklad a=regexident
For projects using rust-analyzer as a library it is desirable to be able to provide a custom-config to `fn load_cargo(…)` to pass features, etc, rather than having to copy & paste `fn load_cargo(…)` into one's project and maintain a fork of it and keep it in sync with upstream.
Co-authored-by: Vincent Esche <[email protected]>
Diffstat (limited to 'crates/hir_def/src/data.rs')
0 files changed, 0 insertions, 0 deletions