From 66ee62c7eff00f125d066b5a64f9469f74450c36 Mon Sep 17 00:00:00 2001 From: Peter Hanssens Date: Tue, 23 Sep 2025 19:45:57 +1000 Subject: [PATCH] fix: Resolve Rust Edition 2024 compatibility issues - Update Rust version to 'stable' for latest compiler support - Downgrade leptos-shadcn dependencies from 0.9.x to 0.8.1 - Fix 'edition2024' feature requirement error in GitHub Actions - Ensure compatibility with current Rust stable toolchain - Resolve dependency version conflicts in CI environment --- .github/workflows/demo-deploy.yml | 2 +- examples/comprehensive-demo/Cargo.toml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/demo-deploy.yml b/.github/workflows/demo-deploy.yml index b272231..1f50203 100644 --- a/.github/workflows/demo-deploy.yml +++ b/.github/workflows/demo-deploy.yml @@ -18,7 +18,7 @@ on: workflow_dispatch: # Allow manual triggering env: - RUST_VERSION: '1.80.0' + RUST_VERSION: 'stable' NODE_VERSION: '18' WASM_PACK_VERSION: '0.12.1' diff --git a/examples/comprehensive-demo/Cargo.toml b/examples/comprehensive-demo/Cargo.toml index 2b05e85..e45f193 100644 --- a/examples/comprehensive-demo/Cargo.toml +++ b/examples/comprehensive-demo/Cargo.toml @@ -25,16 +25,16 @@ tailwind-rs-core = "0.8.1" tailwind-rs-wasm = "0.8.1" # Published ShadCN UI components (refactored versions) -leptos-shadcn-drawer = "0.9.1" -leptos-shadcn-context-menu = "0.9.1" -leptos-shadcn-alert-dialog = "0.9.1" -leptos-shadcn-select = "0.9.1" -leptos-shadcn-command = "0.9.1" +leptos-shadcn-drawer = "0.8.1" +leptos-shadcn-context-menu = "0.8.1" +leptos-shadcn-alert-dialog = "0.8.1" +leptos-shadcn-select = "0.8.1" +leptos-shadcn-command = "0.8.1" # Additional components for comprehensive demo -leptos-shadcn-button = "0.9.0" -leptos-shadcn-card = "0.9.0" -leptos-shadcn-input = "0.9.0" +leptos-shadcn-button = "0.8.1" +leptos-shadcn-card = "0.8.1" +leptos-shadcn-input = "0.8.1" [lib] crate-type = ["cdylib"] \ No newline at end of file