Constant tidy::deps::WORKSPACES

source ยท
pub(crate) const WORKSPACES: &[(&str, &'static [(&'static str, &'static str)], Option<(&[&str], &[&str])>, &[&str])];
Expand description

The workspaces to check for licensing and optionally permitted dependencies.

Each entry consists of a tuple with the following elements:

  • The path to the workspace root Cargo.toml file.
  • The list of license exceptions.
  • Optionally a tuple of:
    • A list of crates for which dependencies need to be explicitly allowed.
    • The list of allowed dependencies.
  • Submodules required for the workspace.