Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rust-mode optional #118

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Make rust-mode optional #118

merged 1 commit into from
Apr 22, 2021

Conversation

tarsius
Copy link
Contributor

@tarsius tarsius commented Apr 21, 2021

Do not depend on rust-mode because only a single function from that
package is required by a single function (which in turn is used by a
single command). Do this so that users who use rustic[-mode] can
use cargo without having to install `rust-mode' just for that one
function.

Teach cargo-process--get-current-test to use the respective rustic
function. If neither package installed then make it instruct the user
to install either one of them.

Do not depend on `rust-mode' because only a single function from that
package is required by a single function (which in turn is used by a
single command).  Do this so that users who use `rustic'[-mode] can
use `cargo' without having to install `rust-mode' just for that one
function.

Teach `cargo-process--get-current-test' to use the respective `rustic'
function.  If neither package installed then make it instruct the user
to install either one of them.
@kwrooijen
Copy link
Owner

Very useful change, thanks. I'm sure people will appreciate this :)

@kwrooijen kwrooijen merged commit 0174599 into kwrooijen:master Apr 22, 2021
@tarsius tarsius deleted the rustic branch April 22, 2021 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants