This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
fix(deps): update rust crate tokio to v1.40.0 #824
GitHub Actions / clippy
succeeded
Sep 16, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check warning on line 150 in src/main.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> src/main.rs:150:36
|
150 | base64::encode(&format!("{}:{}", username, password)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{}:{}", username, password)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 174 in src/main.rs
github-actions / clippy
use of deprecated function `base64::decode`: Use Engine::decode
warning: use of deprecated function `base64::decode`: Use Engine::decode
--> src/main.rs:174:31
|
174 | let payload = base64::decode(auth_header.replace("Basic ", "")).map_err(|e| {
| ^^^^^^
Check warning on line 150 in src/main.rs
github-actions / clippy
use of deprecated function `base64::encode`: Use Engine::encode
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> src/main.rs:150:29
|
150 | base64::encode(&format!("{}:{}", username, password)),
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Loading