From 8686977113070bcc0e981798f2e05d967b725054 Mon Sep 17 00:00:00 2001 From: Clement Wanjau Date: Thu, 19 Dec 2024 07:58:24 +0300 Subject: [PATCH] Update the dependencies. --- examples/leptos-chart/Cargo.toml | 3 +-- examples/leptos-ssr-chart/Cargo.toml | 15 +++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/examples/leptos-chart/Cargo.toml b/examples/leptos-chart/Cargo.toml index d595989..204e8af 100644 --- a/examples/leptos-chart/Cargo.toml +++ b/examples/leptos-chart/Cargo.toml @@ -6,5 +6,4 @@ edition = "2021" [dependencies] apexcharts-rs = { path="../../../apexcharts-rs", features = ["leptos"] } -leptos = { version = "0.6", features= ["csr"] } -wasm-bindgen = "0.2.92" +leptos = { version = "0.7", features= ["csr"] } diff --git a/examples/leptos-ssr-chart/Cargo.toml b/examples/leptos-ssr-chart/Cargo.toml index 2271981..dc7303e 100644 --- a/examples/leptos-ssr-chart/Cargo.toml +++ b/examples/leptos-ssr-chart/Cargo.toml @@ -10,17 +10,16 @@ crate-type = ["cdylib", "rlib"] actix-files = { version = "0.6", optional = true } actix-web = { version = "4", optional = true, features = ["macros"] } console_error_panic_hook = "0.1" -http = { version = "1.0.0", optional = true } -leptos = { version = "0.6" } -leptos_meta = { version = "0.6" } -leptos_actix = { version = "0.6", optional = true } -leptos_router = { version = "0.6" } -wasm-bindgen = "=0.2.93" +leptos = { version = "0.7" } +leptos_meta = { version = "0.7", optional = true } +leptos_actix = { version = "0.7", optional = true } +leptos_router = { version = "0.7" , optional = true } +wasm-bindgen = "0.2" apexcharts-rs = { path = "../../../apexcharts-rs", features = ["leptos"] } [features] -csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] -hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"] +csr = ["leptos/csr", "leptos_meta", "leptos_router"] +hydrate = ["leptos/hydrate", "leptos_meta", "leptos_router"] ssr = [ "dep:actix-files", "dep:actix-web",