diff --git a/Cargo.lock b/Cargo.lock index d227cef..18d618f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2877,7 +2877,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.25.2", + "webpki-roots", "winreg", ] @@ -3481,8 +3481,6 @@ dependencies = [ "once_cell", "paste", "percent-encoding", - "rustls", - "rustls-pemfile", "serde", "serde_json", "sha2 0.10.8", @@ -3493,7 +3491,6 @@ dependencies = [ "tokio-stream", "tracing", "url", - "webpki-roots 0.24.0", ] [[package]] @@ -4235,15 +4232,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-roots" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888" -dependencies = [ - "rustls-webpki", -] - [[package]] name = "webpki-roots" version = "0.25.2" diff --git a/crates/nefarious-login/src/auth.rs b/crates/nefarious-login/src/auth.rs index 9e8c1c0..80cd561 100644 --- a/crates/nefarious-login/src/auth.rs +++ b/crates/nefarious-login/src/auth.rs @@ -132,7 +132,7 @@ impl Auth for NoopAuthService { self.config .return_url .rsplit_once('/') - .map(|(a, b)| a) + .map(|(a, _)| a) .unwrap() )) .unwrap();