summaryrefslogtreecommitdiff
path: root/deny.toml
diff options
context:
space:
mode:
authorNeetu Mehta <aryacollection.hsp@gmail.com>2022-10-21 00:03:00 +0530
committerFederico Mena Quintero <federico@gnome.org>2022-10-26 16:31:50 -0500
commit5d9b487e8913f4ce6f75ece8cebd3b8c289f8c7c (patch)
treee4dbbab88eb401b1576d4743d3f8376fc6d6f0eb /deny.toml
parent6a5050c167135d894c868d49c72e7068f72b37da (diff)
downloadlibrsvg-5d9b487e8913f4ce6f75ece8cebd3b8c289f8c7c.tar.gz
Remove some redundant config
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/761>
Diffstat (limited to 'deny.toml')
-rw-r--r--deny.toml93
1 files changed, 0 insertions, 93 deletions
diff --git a/deny.toml b/deny.toml
index 79eca075..e89fe465 100644
--- a/deny.toml
+++ b/deny.toml
@@ -1,32 +1,3 @@
-# This template contains all of the possible sections and their default values
-
-# Note that all fields that take a lint level have these possible values:
-# * deny - An error will be produced and the check will fail
-# * warn - A warning will be produced, but the check will not fail
-# * allow - No warning or error will be produced, though in some cases a note
-# will be
-
-# The values provided in this template are the default values that will be used
-# when any section or field is not specified in your own configuration
-
-# If 1 or more target triples (and optionally, target_features) are specified,
-# only the specified targets will be checked when running `cargo deny check`.
-# This means, if a particular package is only ever used as a target specific
-# dependency, such as, for example, the `nix` crate only being used via the
-# `target_family = "unix"` configuration, that only having windows targets in
-# this list would mean the nix crate, as well as any of its exclusive
-# dependencies not shared by any other crates, would be ignored, as the target
-# list here is effectively saying which targets you are building for.
-targets = [
- # The triple can be any string, but only the target triples built in to
- # rustc (as of 1.40) can be checked against actual config expressions
- #{ triple = "x86_64-unknown-linux-musl" },
- # You can also specify which target_features you promise are enabled for a
- # particular target. target_features are currently not validated against
- # the actual valid features supported by the target architecture.
- #{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
-]
-
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
@@ -43,67 +14,3 @@ unlicensed = "deny"
copyleft = "allow"
allow-osi-fsf-free = "either"
confidence-threshold = 0.8
-
-# This section is considered when running `cargo deny check bans`.
-# More documentation about the 'bans' section can be found here:
-# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
-[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
-# * lowest-version - The path to the lowest versioned duplicate is highlighted
-# * simplest-path - The path to the version with the fewest edges is highlighted
-# * all - Both lowest-version and simplest-path are used
-highlight = "all"
-# List of crates that are allowed. Use with care!
-allow = [
- #{ name = "ansi_term", version = "=0.11.0" },
-]
-# 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" },
- #
- # Wrapper crates can optionally be specified to allow the crate when it
- # is a direct dependency of the otherwise banned crate
- #{ name = "ansi_term", version = "=0.11.0", wrappers = [] },
-]
-# 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 during duplicate
-# detection. Unlike skip, it also includes the entire tree of transitive
-# dependencies starting at the specified crate, up to a certain depth, which is
-# by default infinite
-skip-tree = [
- #{ name = "ansi_term", version = "=0.11.0", depth = 20 },
-]
-
-# This section is considered when running `cargo deny check sources`.
-# More documentation about the 'sources' section can be found here:
-# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
-[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 = []
-
-[sources.allow-org]
-# 1 or more github.com organizations to allow git sources for
-github = [""]
-# 1 or more gitlab.com organizations to allow git sources for
-gitlab = [""]
-# 1 or more bitbucket.org organizations to allow git sources for
-bitbucket = [""]