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-03-12 12:43:21 +08:00
|
|
|
leptos = { version = "0.6.9" }
|
|
|
|
leptos_meta = { version = "0.6.9" }
|
|
|
|
leptos_router = { version = "0.6.9" }
|
2024-02-07 22:38:02 +08:00
|
|
|
leptos_devtools = { version = "0.0.1", optional = true }
|
2024-01-27 00:12:03 +08:00
|
|
|
thaw = { path = "../thaw" }
|
2023-12-30 14:45:16 +08:00
|
|
|
demo_markdown = { path = "../demo_markdown" }
|
2024-02-01 21:38:01 +08:00
|
|
|
icondata = "0.3.0"
|
2024-02-07 21:42:34 +08:00
|
|
|
palette = "0.7.4"
|
2024-02-07 22:38:02 +08:00
|
|
|
chrono = "0.4.33"
|
2024-03-22 17:22:53 +08:00
|
|
|
cfg-if = "1.0.0"
|
2023-09-09 22:22:27 +08:00
|
|
|
|
|
|
|
[features]
|
2023-11-24 10:04:54 +08:00
|
|
|
default = ["csr"]
|
2023-09-09 22:22:27 +08:00
|
|
|
tracing = ["leptos/tracing"]
|
2023-11-24 10:04:54 +08:00
|
|
|
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"]
|
2024-01-07 19:20:08 +08:00
|
|
|
|
|
|
|
# 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."*"]
|
2024-01-26 23:10:17 +09:00
|
|
|
opt-level = 3
|