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

Override Global Default Policies #493

Open
Folling opened this issue Jun 11, 2023 · 1 comment
Open

Override Global Default Policies #493

Folling opened this issue Jun 11, 2023 · 1 comment

Comments

@Folling
Copy link

Folling commented Jun 11, 2023

Is it possible to override the default policies?

If it isn't I suggest implementing it as follows:

[policy]
criteria = "..."
dev-criteria = "..."
build-criteria = "..."

Since it is otherwise quite tedious to manage this on a per-crate level.

@bholley
Copy link
Collaborator

bholley commented Jun 12, 2023

Policies are inherited, so you should only need to specify them for top-level crates (i.e., crates with no dependents), as displayed in cargo tree. Does your use-case have a lot of top-level crates? We could in principle add the feature you describe but so far it hasn't seemed needed.

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

No branches or pull requests

2 participants