From aef9e379ca45a4ae376b141993e7410716df17c5 Mon Sep 17 00:00:00 2001 From: Christopher Biscardi Date: Fri, 30 Aug 2024 23:23:36 -0700 Subject: [PATCH] update to current versions --- crates/www/Cargo.toml | 16 +++++++++++----- crates/www/src/components/button.rs | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/crates/www/Cargo.toml b/crates/www/Cargo.toml index f56d5d3..bfa57b7 100644 --- a/crates/www/Cargo.toml +++ b/crates/www/Cargo.toml @@ -7,18 +7,22 @@ edition = "2021" crate-type = ["cdylib", "rlib"] [dependencies] -leptos_meta = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7" } +leptos-use = { git = "https://github.com/Synphonyte/leptos-use.git", branch = "leptos-0.7", default-features = false, features = [ + "use_scroll", + "use_window", + "use_event_listener", +] } +leptos_meta = { git = "https://github.com/leptos-rs/leptos" } axum = { version = "0.7", optional = true } console_error_panic_hook = "0.1" -leptos = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [ +leptos = { git = "https://github.com/leptos-rs/leptos", features = [ "nightly", "experimental-islands", ] } -leptos_axum = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", optional = true } -leptos_router = { git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [ +leptos_axum = { git = "https://github.com/leptos-rs/leptos", optional = true } +leptos_router = { git = "https://github.com/leptos-rs/leptos", features = [ "nightly", ] } -leptos-use = { git = "https://github.com/Synphonyte/leptos-use.git", branch = "leptos-0.7" } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } tower = { version = "0.4", optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true } @@ -42,6 +46,8 @@ ssr = [ "dep:tracing", ] +[patch] + [package.metadata.leptos] # The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name diff --git a/crates/www/src/components/button.rs b/crates/www/src/components/button.rs index 48a95e5..a3c2145 100644 --- a/crates/www/src/components/button.rs +++ b/crates/www/src/components/button.rs @@ -47,7 +47,7 @@ pub fn Button( view! {