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

support .cargo/config.toml #10

Closed
wants to merge 1 commit into from
Closed

support .cargo/config.toml #10

wants to merge 1 commit into from

Conversation

benmkw
Copy link

@benmkw benmkw commented Aug 22, 2020

src/lib.rs Show resolved Hide resolved
@@ -72,14 +72,22 @@ impl Project {
// parse Cargo.toml
let toml = root.join("Cargo.toml");
let cargo_config = Path::new(".cargo").join("config");
let cargo_config_toml = Path::new(".cargo").join("config.toml");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be a bit clearer:

Suggested change
let cargo_config_toml = Path::new(".cargo").join("config.toml");
let cargo_config_toml = cargo_config.with_extension("toml");

@japaric
Copy link
Owner

japaric commented Sep 22, 2021

sorry, missed this PR but support for this was added in release 0.2.6

@japaric japaric closed this Sep 22, 2021
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.

Support .cargo/config.toml
4 participants