forked from NotAShelf/beer
meta: set up linters and rustfmt
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I554f12c5ce67d41aea3b7559e5536b6f6a6a6964
This commit is contained in:
parent
1593b40dec
commit
c9b8424bd1
3 changed files with 30 additions and 0 deletions
1
.clippy.toml
Normal file
1
.clippy.toml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
msrv = "1.95"
|
||||||
27
.deny.toml
Normal file
27
.deny.toml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
[advisories]
|
||||||
|
version = 2
|
||||||
|
yanked = "deny"
|
||||||
|
|
||||||
|
[licenses]
|
||||||
|
version = 2
|
||||||
|
allow = [
|
||||||
|
"EUPL-1.2",
|
||||||
|
"MIT",
|
||||||
|
"Apache-2.0",
|
||||||
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
|
"BSD-2-Clause",
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"ISC",
|
||||||
|
"Unicode-3.0",
|
||||||
|
"Unicode-DFS-2016",
|
||||||
|
"Zlib",
|
||||||
|
"MPL-2.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
[bans]
|
||||||
|
multiple-versions = "warn"
|
||||||
|
wildcards = "allow"
|
||||||
|
|
||||||
|
[sources]
|
||||||
|
unknown-registry = "deny"
|
||||||
|
unknown-git = "deny"
|
||||||
2
.rustfmt.toml
Normal file
2
.rustfmt.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
edition = "2024"
|
||||||
|
max_width = 100
|
||||||
Loading…
Add table
Add a link
Reference in a new issue