Adjust default features for meta and router

This commit is contained in:
Greg Johnston 2023-01-07 14:43:32 -05:00
parent af7b93fa1e
commit 8915e2615b
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ leptos_router = { path = "../../router", features=["csr"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
futures = "0.3" futures = "0.3"
console_error_panic_hook = "0.1.7" console_error_panic_hook = "0.1.7"
leptos_meta = { path = "../../meta", default-features = false } leptos_meta = { path = "../../meta", features = ["csr"] }
[dev-dependencies] [dev-dependencies]
wasm-bindgen-test = "0.3.0" wasm-bindgen-test = "0.3.0"

View file

@ -18,7 +18,7 @@ version = "0.3"
features = ["HtmlLinkElement", "HtmlMetaElement", "HtmlTitleElement"] features = ["HtmlLinkElement", "HtmlMetaElement", "HtmlTitleElement"]
[features] [features]
default = ["csr"] default = []
csr = ["leptos/csr", "leptos/tracing"] csr = ["leptos/csr", "leptos/tracing"]
hydrate = ["leptos/hydrate", "leptos/tracing"] hydrate = ["leptos/hydrate", "leptos/tracing"]
ssr = ["leptos/ssr", "leptos/tracing"] ssr = ["leptos/ssr", "leptos/tracing"]

View file

@ -53,7 +53,7 @@ features = [
] ]
[features] [features]
default = ["csr"] default = []
csr = ["leptos/csr"] csr = ["leptos/csr"]
hydrate = ["leptos/hydrate"] hydrate = ["leptos/hydrate"]
ssr = ["leptos/ssr", "dep:url", "dep:regex"] ssr = ["leptos/ssr", "dep:url", "dep:regex"]