mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
Adjust default features for meta
and router
This commit is contained in:
parent
af7b93fa1e
commit
8915e2615b
3 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue