Compare commits

...

3 Commits

Author SHA1 Message Date
Rob Ede 076ed4f251
chore: address clippy lint 2025-02-09 02:21:37 +00:00
Rob Ede adad235e1f
Merge branch 'master' into dependabot/cargo/rand-0.9 2025-02-09 02:15:58 +00:00
Rob Ede 59961a58a8
chore: fix msrv errors 2025-02-09 02:15:43 +00:00
4 changed files with 4 additions and 10 deletions

View File

@ -1370,7 +1370,7 @@ mod tests {
assert_eq!(path.unprocessed(), ""); assert_eq!(path.unprocessed(), "");
} }
#[expect(clippy::literal_string_with_formatting_args)] #[allow(clippy::literal_string_with_formatting_args)]
#[test] #[test]
fn newline_patterns_and_paths() { fn newline_patterns_and_paths() {
let re = ResourceDef::new("/user/a\nb"); let re = ResourceDef::new("/user/a\nb");

View File

@ -145,7 +145,7 @@ mod tests {
}; };
#[allow(clippy::cognitive_complexity)] #[allow(clippy::cognitive_complexity)]
#[expect(clippy::literal_string_with_formatting_args)] #[allow(clippy::literal_string_with_formatting_args)]
#[test] #[test]
fn test_recognizer_1() { fn test_recognizer_1() {
let mut router = Router::<usize>::build(); let mut router = Router::<usize>::build();

View File

@ -25,10 +25,7 @@ use openssl::{
ssl::{SslAcceptor, SslMethod}, ssl::{SslAcceptor, SslMethod},
x509::X509, x509::X509,
}; };
use rand::{ use rand::distr::{Alphanumeric, SampleString as _};
distr::{Alphanumeric, SampleString as _},
Rng as _,
};
mod utils; mod utils;

View File

@ -20,10 +20,7 @@ use base64::prelude::*;
use bytes::Bytes; use bytes::Bytes;
use cookie::Cookie; use cookie::Cookie;
use futures_util::stream; use futures_util::stream;
use rand::{ use rand::distr::{Alphanumeric, SampleString as _};
distr::{Alphanumeric, SampleString as _},
Rng,
};
mod utils; mod utils;