thaw/demo/Cargo.toml

37 lines
993 B
TOML
Raw Normal View History

2023-06-13 12:43:15 +08:00
[package]
2023-10-11 21:53:51 +08:00
publish = false
2023-10-11 11:07:57 +08:00
name = "demo"
2023-06-13 12:43:15 +08:00
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2024-01-31 22:07:55 +08:00
leptos = { version = "0.6.4" }
leptos_meta = { version = "0.6.4" }
leptos_router = { version = "0.6.4" }
leptos_devtools = { version = "0.0.1", optional = true}
thaw = { path = "../thaw" }
demo_markdown = { path = "../demo_markdown" }
2023-09-09 22:22:27 +08:00
[features]
default = ["csr"]
2023-09-09 22:22:27 +08:00
tracing = ["leptos/tracing"]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr", "thaw/csr"]
ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "thaw/ssr"]
hydrate = [
"leptos/hydrate",
"leptos_meta/hydrate",
"leptos_router/hydrate",
"thaw/hydrate",
]
2023-12-08 15:44:22 +08:00
nightly = ["leptos/nightly", "leptos_meta/nightly", "leptos_router/nightly"]
# https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent#optimization-level
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3