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

Specify depth of dependency traversal in bans.allow #751

Open
ethanuppal opened this issue Mar 6, 2025 · 0 comments
Open

Specify depth of dependency traversal in bans.allow #751

ethanuppal opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ethanuppal
Copy link

Is your feature request related to a problem? Please describe.
See discussion in #750

Describe the solution you'd like
An allow-depth field that (1) when unspecified defaults to infinity, and (2) when specified to a positive integer limits the scope of the allow field to those in the first allow-depth breadth-first-search layers of the dependency graph starting from the root dependencies

Describe alternatives you've considered

  • Simply put every dependency in the allow
  • Use comments in Cargo.toml

Additional context
#750

@ethanuppal ethanuppal added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant