meta: set up linters and rustfmt

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I554f12c5ce67d41aea3b7559e5536b6f6a6a6964
This commit is contained in:
raf 2026-06-20 12:50:33 +03:00
commit c9b8424bd1
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
3 changed files with 30 additions and 0 deletions

1
.clippy.toml Normal file
View file

@ -0,0 +1 @@
msrv = "1.95"

27
.deny.toml Normal file
View 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
View file

@ -0,0 +1,2 @@
edition = "2024"
max_width = 100