diff options
| author | Fuwn <[email protected]> | 2022-01-04 18:15:04 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-01-04 18:15:04 -0800 |
| commit | f12a352b5009dacf71a5d29ad158285a0d0ae7a2 (patch) | |
| tree | ca42458b429d7e18a28b1deb5267a432736fbe25 /src/main.rs | |
| parent | feat(main.rs): ratelimit (100 requests/minute) (diff) | |
| download | api-f12a352b5009dacf71a5d29ad158285a0d0ae7a2.tar.xz api-f12a352b5009dacf71a5d29ad158285a0d0ae7a2.zip | |
chore: stricter clippy
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index cd689ed..d0daf04 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,16 @@ // SPDX-License-Identifier: GPL-3.0-only #![feature(type_ascription)] +#![deny( + warnings, + nonstandard_style, + unused, + future_incompatible, + rust_2018_idioms, + unsafe_code +)] +#![deny(clippy::all, clippy::pedantic)] // clippy::nursery +#![recursion_limit = "128"] #[macro_use] extern crate actix_web; |