content: # cargo-deny configuration file
  # https://embarkstudios.github.io/cargo-deny/
  
  [graph]
  # If 1 or more target triples are specified, only the packages matching those targets will be checked
  targets = [
      "x86_64-unknown-linux-gnu",
      "x86_64-apple-darwin",
      "x86_64-pc-windows-msvc",
  ]
  # If 1 or more features are specified, only the packages with one of those features enabled will be checked
  features = []
  
  [output]
  feature-depth = 1
  
  [advisories]
  version = 2
  # The path where the advisory database is cloned/fetched into
  db-path = "~/.cargo/advisory-db"
  # The url(s) of the advisory databases to use
  db-urls = ["https://github.com/rustsec/advisory-db"]
  # The lint level for unmaintained crates
  unmaintained = "none"
  # The lint level for crates that have been yanked from their source registry
  yanked = "warn"
  # A list of advisory IDs to ignore. Note that ignored advisories will still
  # output a note when they are encountered.
  ignore = [
      # "RUSTSEC-0000-0000",
  ]
  
  [licenses]
  version = 2
  # The confidence threshold for detecting a license from a license text.
  confidence-threshold = 0.8
  # Allow 1 or more licenses
  allow = [
      "MIT",
      "Apache-2.0",
      "Apache-2.0 WITH LLVM-exception",
      "BSD-2-Clause",
      "BSD-3-Clause",
      "ISC",
      "Unicode-DFS-2016",
      "GPL-3.0",           # hyprland dependency
      "CC0-1.0",           # notify dependency  
      "MPL-2.0",           # option-ext dependency
      "Unicode-3.0",       # unicode-ident dependency
  ]
  # Note: with version = 2, all licenses not in allow list are denied by default
  # The confidence threshold for detecting a license from a license text.
  # confidence-threshold = 0.8
  # Allow 1 or more licenses on a per-crate basis, so that particular licenses
  # aren't accepted for every possible crate as with the normal allow list
  exceptions = [
      # Each entry is the crate and version constraint, and its the license
      # { allow = ["Zlib"], name = "adler32", version = "*" },
  ]
  
  [licenses.private]
  # If true, ignores workspace crates that aren't published, or are only
  # published to private registries.
  ignore = false
  # One or more private registries that you might publish crates to, if a crate
  # is only published to private registries, and ignore is true, the crate will
  # not have its license(s) checked
  registries = [
      # "https://sekretz.com/registry
  ]
  
  [bans]
  # Lint level for when multiple versions of the same crate are detected
  multiple-versions = "warn"
  # Lint level for when a crate version requirement is `*`
  wildcards = "allow"
  # The graph highlighting used when creating dotgraphs for crates
  # with multiple versions
  highlight = "all"
  # The default lint level for `default` features, if not specified in array
  # default-features = "allow"  # This option is not supported in newer versions
  # The default lint level for `external` features, if not specified in array
  # external-default-features = "allow"  # This option is not supported in newer versions
  # List of crates that are allowed. Use with care!
  allow = [
      # { name = "openssl-sys", version = "=0.9.60" },
  ]
  # List of crates to deny
  deny = [
      # Each entry the name of a crate and a version range. If version is
      # not specified, all versions will be matched.
      # { name = "ansi_term", version = "=0.11.0" },
  ]
  # Certain crates/versions that will be skipped when doing duplicate detection.
  skip = [
      # { name = "ansi_term", version = "=0.11.0" },
  ]
  # Similarly to `skip` allows you to skip certain crates from being checked. Unlike `skip`,
  # `skip-tree` skips the crate and all of its dependencies entirely.
  skip-tree = [
      # { name = "ansi_term", version = "=0.11.0" },
  ]
  
  [sources]
  # Lint level for what to happen when a crate from a crate registry that is
  # not in the allow list is encountered
  unknown-registry = "warn"
  # Lint level for what to happen when a crate from a git repository that is not
  # in the allow list is encountered
  unknown-git = "warn"
  # List of URLs for allowed crate registries. Defaults to the crates.io index
  # if not specified. If it is specified but empty, no registries are allowed.
  allow-registry = ["https://github.com/rust-lang/crates.io-index"]
  # List of URLs for allowed Git repositories
  allow-git = []