From 2041f34af194665edbd841a0a0da6bd63ba9b0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABlle=20Huisman?= Date: Mon, 16 Nov 2026 09:33:07 +0100 Subject: [PATCH] build(deps): remove unused workspace dependencies --- Cargo.toml | 10 ++++------ examples/leptos-actix/src/lib.rs | 5 +++++ examples/leptos-axum/src/lib.rs | 5 +++++ packages/integrations/shield-dioxus/src/router.rs | 2 ++ 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7cd2994d..4e3254ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,6 @@ actix-files = "0.7.0" actix-session = "0.11.0" actix-web = "4.9.0" anyhow = "1.0.100" -async-std = "1.13.0" async-trait = "0.1.83" axum = "0.8.1" bon = "3.3.2" @@ -43,7 +42,6 @@ dioxus = "0.7.9" dioxus-html = "0.7.9" dioxus-server = "0.7.9" http = "1.2.0" -jsonwebtoken = "11.0.0" leptos = "0.8.3" leptos_actix = "0.8.3" leptos_axum = "0.8.3" @@ -60,8 +58,8 @@ shield = { path = "./packages/core/shield", version = "0.4.0" } shield-actix = { path = "./packages/integrations/shield-actix", version = "0.4.0" } shield-axum = { path = "./packages/integrations/shield-axum", version = "0.4.0" } shield-bootstrap = { path = "./packages/styles/shield-bootstrap", version = "0.4.0" } -shield-credentials = { path = "./packages/methods/shield-credentials", version = "0.4.0" } -shield-diesel = { path = "./packages/storage/shield-diesel", version = "0.4.0" } +# shield-credentials = { path = "./packages/methods/shield-credentials", version = "0.4.0" } +# shield-diesel = { path = "./packages/storage/shield-diesel", version = "0.4.0" } shield-dioxus = { path = "./packages/integrations/shield-dioxus", version = "0.4.0" } shield-dioxus-axum = { path = "./packages/integrations/shield-dioxus-axum", version = "0.4.0" } shield-email = { path = "./packages/methods/shield-email", version = "0.4.0" } @@ -72,9 +70,9 @@ shield-memory = { path = "./packages/storage/shield-memory", version = "0.4.0" } shield-oauth = { path = "./packages/methods/shield-oauth", version = "0.4.0" } shield-oidc = { path = "./packages/methods/shield-oidc", version = "0.4.0" } shield-sea-orm = { path = "./packages/storage/shield-sea-orm", version = "0.4.0" } -shield-sqlx = { path = "./packages/storage/shield-sqlx", version = "0.4.0" } +# shield-sqlx = { path = "./packages/storage/shield-sqlx", version = "0.4.0" } shield-tower = { path = "./packages/integrations/shield-tower", version = "0.4.0" } -shield-webauthn = { path = "./packages/methods/shield-webauthn", version = "0.4.0" } +# shield-webauthn = { path = "./packages/methods/shield-webauthn", version = "0.4.0" } shield-workos = { path = "./packages/methods/shield-workos", version = "0.4.0" } thiserror = "2.0.7" tokio = "1.42.0" diff --git a/examples/leptos-actix/src/lib.rs b/examples/leptos-actix/src/lib.rs index 85a43a39..40e06de9 100644 --- a/examples/leptos-actix/src/lib.rs +++ b/examples/leptos-actix/src/lib.rs @@ -1,6 +1,11 @@ pub mod app; mod home; +#[expect(unused_imports)] +use console_error_panic_hook::set_once as _; +#[expect(unused_imports)] +use wasm_tracing::set_as_global_default as _; + #[cfg(feature = "hydrate")] #[wasm_bindgen::prelude::wasm_bindgen] pub fn hydrate() { diff --git a/examples/leptos-axum/src/lib.rs b/examples/leptos-axum/src/lib.rs index 341cff15..57b0f503 100644 --- a/examples/leptos-axum/src/lib.rs +++ b/examples/leptos-axum/src/lib.rs @@ -1,6 +1,11 @@ pub mod app; mod home; +#[expect(unused_imports)] +use console_error_panic_hook::set_once as _; +#[expect(unused_imports)] +use wasm_tracing::set_as_global_default as _; + #[cfg(feature = "hydrate")] #[wasm_bindgen::prelude::wasm_bindgen] pub fn hydrate() { diff --git a/packages/integrations/shield-dioxus/src/router.rs b/packages/integrations/shield-dioxus/src/router.rs index 8d070cc5..1093c722 100644 --- a/packages/integrations/shield-dioxus/src/router.rs +++ b/packages/integrations/shield-dioxus/src/router.rs @@ -1,3 +1,5 @@ +#![expect(unreachable_code)] + use dioxus::prelude::*; use crate::routes::Action;