[clippy] enable more lints, get rid of unwrap
This commit is contained in:
@ -3,6 +3,14 @@ name = "expose-dir-via-http"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[lints.clippy]
|
||||
pedantic = "warn"
|
||||
todo = "warn"
|
||||
unwrap_used = "warn"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["experimental-io-uring"] }
|
||||
actix-files = "0.6"
|
||||
|
Reference in New Issue
Block a user