From cdf709fb09962a7f4496e5adeb2decba41f66e8b Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Thu, 12 Jan 2023 09:57:08 -0500 Subject: [PATCH] `0.1.0` --- Cargo.toml | 18 +++++++++--------- integrations/actix/src/lib.rs | 2 +- integrations/axum/src/lib.rs | 4 ++-- leptos_config/Cargo.toml | 3 +-- leptos_macro/Cargo.toml | 4 ++-- leptos_server/Cargo.toml | 2 +- meta/Cargo.toml | 2 +- router/Cargo.toml | 2 +- 8 files changed, 18 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68b1e91..398d76b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,17 +24,17 @@ members = [ exclude = ["benchmarks", "examples"] [workspace.package] -version = "0.1.0-beta" +version = "0.1.0" [workspace.dependencies] -leptos = { path = "./leptos", default-features = false, version = "0.1.0-beta" } -leptos_dom = { path = "./leptos_dom", default-features = false, version = "0.1.0-beta" } -leptos_macro = { path = "./leptos_macro", default-features = false, version = "0.1.0-beta" } -leptos_reactive = { path = "./leptos_reactive", default-features = false, version = "0.1.0-beta" } -leptos_server = { path = "./leptos_server", default-features = false, version = "0.1.0-beta" } -leptos_config = { path = "./leptos_config", default-features = false, version = "0.1.0-beta" } -leptos_router = { path = "./router", version = "0.1.0-beta" } -leptos_meta = { path = "./meta", default-feature = false, version = "0.1.0-beta" } +leptos = { path = "./leptos", default-features = false, version = "0.1.0" } +leptos_dom = { path = "./leptos_dom", default-features = false, version = "0.1.0" } +leptos_macro = { path = "./leptos_macro", default-features = false, version = "0.1.0" } +leptos_reactive = { path = "./leptos_reactive", default-features = false, version = "0.1.0" } +leptos_server = { path = "./leptos_server", default-features = false, version = "0.1.0" } +leptos_config = { path = "./leptos_config", default-features = false, version = "0.1.0" } +leptos_router = { path = "./router", version = "0.1.0" } +leptos_meta = { path = "./meta", default-feature = false, version = "0.1.0" } [profile.release] codegen-units = 1 diff --git a/integrations/actix/src/lib.rs b/integrations/actix/src/lib.rs index f49381a..c39674f 100644 --- a/integrations/actix/src/lib.rs +++ b/integrations/actix/src/lib.rs @@ -361,7 +361,7 @@ where } fn provide_contexts(cx: leptos::Scope, req: &HttpRequest, res_options: ResponseOptions) { - let path = leptos_corrected_path(&req); + let path = leptos_corrected_path(req); let integration = ServerIntegration { path }; provide_context(cx, RouterIntegrationContext::new(integration)); diff --git a/integrations/axum/src/lib.rs b/integrations/axum/src/lib.rs index 3cebe01..3d1a2d8 100644 --- a/integrations/axum/src/lib.rs +++ b/integrations/axum/src/lib.rs @@ -524,9 +524,9 @@ where .collect(); if routes.is_empty() { - return vec!["/".to_string()]; + vec!["/".to_string()] } else { - return routes; + routes } } diff --git a/leptos_config/Cargo.toml b/leptos_config/Cargo.toml index 9225c3d..129d04b 100644 --- a/leptos_config/Cargo.toml +++ b/leptos_config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "leptos_config" -version = "0.1.0-beta" +version = { workspace = true } edition = "2021" authors = ["Greg Johnston"] license = "MIT" @@ -14,4 +14,3 @@ regex = "1.7.0" serde = { version = "1.0.151", features = ["derive"] } thiserror = "1.0.38" typed-builder = "0.11.0" - diff --git a/leptos_macro/Cargo.toml b/leptos_macro/Cargo.toml index 9d8ef44..a32c18e 100644 --- a/leptos_macro/Cargo.toml +++ b/leptos_macro/Cargo.toml @@ -24,13 +24,13 @@ syn-rsx = "0.9" uuid = { version = "1", features = ["v4"] } leptos_dom = { workspace = true } leptos_reactive = { workspace = true } -leptos_server = {workspace = true } +leptos_server = { workspace = true } lazy_static = "1.4" [dev-dependencies] log = "0.4" typed-builder = "0.10" -leptos = { workspace = true } +leptos = { path = "../leptos" } [features] default = ["ssr"] diff --git a/leptos_server/Cargo.toml b/leptos_server/Cargo.toml index 2636188..9f5738b 100644 --- a/leptos_server/Cargo.toml +++ b/leptos_server/Cargo.toml @@ -26,7 +26,7 @@ proc-macro2 = "1.0.47" ciborium = "0.2.0" [dev-dependencies] -leptos = { workspace = true } +leptos = { path = "../leptos" } [features] csr = [ diff --git a/meta/Cargo.toml b/meta/Cargo.toml index 088cf6d..60e5f16 100644 --- a/meta/Cargo.toml +++ b/meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "leptos_meta" -version = "0.1.0-beta" +version = "0.1.0" edition = "2021" authors = ["Greg Johnston"] license = "MIT" diff --git a/router/Cargo.toml b/router/Cargo.toml index 9d55bf8..d37d0e5 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "leptos_router" -version = "0.1.0-beta" +version = "0.1.0" edition = "2021" authors = ["Greg Johnston"] license = "MIT"