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

Allow the user to specify the used target directory manually #205

Open
xFrednet opened this issue Jul 28, 2023 · 1 comment
Open

Allow the user to specify the used target directory manually #205

xFrednet opened this issue Jul 28, 2023 · 1 comment
Labels
A-marker-cargo Area: All things connected to `cargo_marker` C-enhancement Category: New feature or request

Comments

@xFrednet
Copy link
Member

cargo-marker requires a target directory to fetch lint crates and to compile them. Usually, it extracts the default target location from the cargo metadata command. However, a user might want to manually specify it instead.

I believe the best solution for this, would be to add a new field to marker's configuration under the workspace.metadata.marker section in Cargo.toml

[workspace.metadata.marker]
target_dir = "./target"
@xFrednet xFrednet added C-enhancement Category: New feature or request E-good-first-issue Participation: Good for newcomers A-marker-cargo Area: All things connected to `cargo_marker` labels Jul 28, 2023
@xFrednet
Copy link
Member Author

This issue might depend on the discussion in: #251

@xFrednet xFrednet removed the E-good-first-issue Participation: Good for newcomers label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-marker-cargo Area: All things connected to `cargo_marker` C-enhancement Category: New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant