Skip to content

Commit

Permalink
chore: update dprint config (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan authored Oct 8, 2024
1 parent 81275ac commit 1243628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# 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
# "x86_64-unknown-linux-musl",
Expand Down Expand Up @@ -73,7 +72,6 @@ db-urls = ["https://github.com/rustsec/advisory-db"]
# output a note when they are encountered.
ignore = [


# { id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
# "[email protected]", # you can also ignore yanked crate versions if you wish
# { crate = "[email protected]", reason = "you can specify why you are ignoring the yanked crate" },
Expand Down Expand Up @@ -105,7 +103,6 @@ confidence-threshold = 0.8
# aren't accepted for every possible crate as with the normal allow list
exceptions = [


# Each entry is the crate and version constraint, and its specific allow
# list
# { allow = ["Zlib"], crate = "adler32" },
Expand Down Expand Up @@ -137,7 +134,6 @@ ignore = false
# not have its license(s) checked
registries = [


# "https://sekretz.com/registry
]

Expand Down Expand Up @@ -166,14 +162,12 @@ external-default-features = "allow"
# List of crates that are allowed. Use with care!
allow = [


# "[email protected]",
# { crate = "[email protected]", reason = "you can specify a reason it is allowed" },
]
# List of crates to deny
deny = [


# "[email protected]",
# { crate = "[email protected]", reason = "you can specify a reason it is banned" },
# Wrapper crates can optionally be specified to allow the crate when it
Expand Down Expand Up @@ -207,7 +201,6 @@ deny = [
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [


# "[email protected]",
# { crate = "[email protected]", reason = "you can specify a reason why it can't be updated/removed" },
]
Expand All @@ -217,7 +210,6 @@ skip = [
# by default infinite.
skip-tree = [


# "[email protected]", # will be skipped along with _all_ of its direct and transitive dependencies
# { crate = "[email protected]", depth = 20 },
]
Expand Down
6 changes: 3 additions & 3 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"CHANGELOG.md"
],
"plugins": [
"https://plugins.dprint.dev/markdown-0.16.4.wasm",
"https://plugins.dprint.dev/toml-0.6.1.wasm",
"https://plugins.dprint.dev/json-0.19.2.wasm"
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
"https://plugins.dprint.dev/toml-0.6.3.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm"
]
}

0 comments on commit 1243628

Please sign in to comment.