Unify workspace dependencies

This commit is contained in:
hakesson 2022-11-28 06:59:29 +01:00
parent 681f10ec8d
commit b852e459a9
7 changed files with 25 additions and 15 deletions

View File

@ -26,6 +26,16 @@ exclude = ["benchmarks", "examples"]
[workspace.package]
version = "0.1.0-beta"
[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" }
[profile.release]
codegen-units = 1
lto = true

View File

@ -10,11 +10,11 @@ readme = "../README.md"
[dependencies]
cfg-if = "1"
leptos_config = { path = "../leptos_config", 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_dom.workspace = true
leptos_macro.workspace = true
leptos_reactive.workspace = true
leptos_server.workspace = true
leptos_config.workspace = true
tracing = "0.1"
typed-builder = "0.11"

View File

@ -17,7 +17,7 @@ html-escape = "0.2"
indexmap = "1.9"
itertools = "0.10"
js-sys = "0.3"
leptos_reactive = { path = "../leptos_reactive", default-features = false, version = "0.1.0-beta" }
leptos_reactive.workspace = true
once_cell = "1"
pad-adapter = "0.1"
paste = "1"

View File

@ -22,15 +22,15 @@ quote = "1"
syn = { version = "1", features = ["full"] }
syn-rsx = "0.9"
uuid = { version = "1", features = ["v4"] }
leptos_dom = { path = "../leptos_dom", version = "0.1.0-beta" }
leptos_reactive = { path = "../leptos_reactive", version = "0.1.0-beta" }
leptos_server = { path = "../leptos_server", version = "0.1.0-beta" }
leptos_dom.workspace = true
leptos_reactive.workspace = true
leptos_server.workspace = true
lazy_static = "1.4"
[dev-dependencies]
log = "0.4"
typed-builder = "0.10"
leptos = { path = "../leptos" }
leptos.workspace = true
[features]
default = ["ssr"]

View File

@ -8,8 +8,8 @@ repository = "https://github.com/gbj/leptos"
description = "RPC for the Leptos web framework."
[dependencies]
leptos_dom = { path = "../leptos_dom", default-features = false, version = "0.1.0-beta" }
leptos_reactive = { path = "../leptos_reactive", default-features = false, version = "0.1.0-beta" }
leptos_dom.workspace = true
leptos_reactive.workspace = true
form_urlencoded = "1"
gloo-net = "0.2"
lazy_static = "1"
@ -26,7 +26,7 @@ proc-macro2 = "1.0.47"
ciborium = "0.2.0"
[dev-dependencies]
leptos = { path = "../leptos", default-features = false }
leptos.workspace = true
[features]
csr = [

View File

@ -9,7 +9,7 @@ description = "Tools to set HTML metadata in the Leptos web framework."
[dependencies]
cfg-if = "1"
leptos = { path = "../leptos", version = "0.1.0-beta", default-features = false }
leptos.workspace = true
tracing = "0.1"
typed-builder = "0.11"

View File

@ -8,7 +8,7 @@ repository = "https://github.com/gbj/leptos"
description = "Router for the Leptos web framework."
[dependencies]
leptos = { path = "../leptos", version = "0.1.0-beta", default-features = false }
leptos.workspace = true
cfg-if = "1"
common_macros = "0.1"
gloo-net = "0.2"