mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
0.1.0
This commit is contained in:
parent
7eaa36812d
commit
cdf709fb09
8 changed files with 18 additions and 19 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -24,17 +24,17 @@ members = [
|
||||||
exclude = ["benchmarks", "examples"]
|
exclude = ["benchmarks", "examples"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.0-beta"
|
version = "0.1.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
leptos = { path = "./leptos", default-features = 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-beta" }
|
leptos_dom = { path = "./leptos_dom", default-features = false, version = "0.1.0" }
|
||||||
leptos_macro = { path = "./leptos_macro", default-features = false, version = "0.1.0-beta" }
|
leptos_macro = { path = "./leptos_macro", default-features = false, version = "0.1.0" }
|
||||||
leptos_reactive = { path = "./leptos_reactive", default-features = false, version = "0.1.0-beta" }
|
leptos_reactive = { path = "./leptos_reactive", default-features = false, version = "0.1.0" }
|
||||||
leptos_server = { path = "./leptos_server", default-features = false, version = "0.1.0-beta" }
|
leptos_server = { path = "./leptos_server", default-features = false, version = "0.1.0" }
|
||||||
leptos_config = { path = "./leptos_config", default-features = false, version = "0.1.0-beta" }
|
leptos_config = { path = "./leptos_config", default-features = false, version = "0.1.0" }
|
||||||
leptos_router = { path = "./router", version = "0.1.0-beta" }
|
leptos_router = { path = "./router", version = "0.1.0" }
|
||||||
leptos_meta = { path = "./meta", default-feature = false, version = "0.1.0-beta" }
|
leptos_meta = { path = "./meta", default-feature = false, version = "0.1.0" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
|
@ -361,7 +361,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn provide_contexts(cx: leptos::Scope, req: &HttpRequest, res_options: ResponseOptions) {
|
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 };
|
let integration = ServerIntegration { path };
|
||||||
provide_context(cx, RouterIntegrationContext::new(integration));
|
provide_context(cx, RouterIntegrationContext::new(integration));
|
||||||
|
|
|
@ -524,9 +524,9 @@ where
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
if routes.is_empty() {
|
if routes.is_empty() {
|
||||||
return vec!["/".to_string()];
|
vec!["/".to_string()]
|
||||||
} else {
|
} else {
|
||||||
return routes;
|
routes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "leptos_config"
|
name = "leptos_config"
|
||||||
version = "0.1.0-beta"
|
version = { workspace = true }
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Greg Johnston"]
|
authors = ["Greg Johnston"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -14,4 +14,3 @@ regex = "1.7.0"
|
||||||
serde = { version = "1.0.151", features = ["derive"] }
|
serde = { version = "1.0.151", features = ["derive"] }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
typed-builder = "0.11.0"
|
typed-builder = "0.11.0"
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,13 @@ syn-rsx = "0.9"
|
||||||
uuid = { version = "1", features = ["v4"] }
|
uuid = { version = "1", features = ["v4"] }
|
||||||
leptos_dom = { workspace = true }
|
leptos_dom = { workspace = true }
|
||||||
leptos_reactive = { workspace = true }
|
leptos_reactive = { workspace = true }
|
||||||
leptos_server = {workspace = true }
|
leptos_server = { workspace = true }
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
typed-builder = "0.10"
|
typed-builder = "0.10"
|
||||||
leptos = { workspace = true }
|
leptos = { path = "../leptos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["ssr"]
|
default = ["ssr"]
|
||||||
|
|
|
@ -26,7 +26,7 @@ proc-macro2 = "1.0.47"
|
||||||
ciborium = "0.2.0"
|
ciborium = "0.2.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
leptos = { workspace = true }
|
leptos = { path = "../leptos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
csr = [
|
csr = [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "leptos_meta"
|
name = "leptos_meta"
|
||||||
version = "0.1.0-beta"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Greg Johnston"]
|
authors = ["Greg Johnston"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "leptos_router"
|
name = "leptos_router"
|
||||||
version = "0.1.0-beta"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Greg Johnston"]
|
authors = ["Greg Johnston"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
Loading…
Reference in a new issue