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-07-07 18:33:45 +08:00
|
|
|
leptos = { workspace = true }
|
|
|
|
leptos_meta = { workspace = true }
|
2024-08-05 00:05:39 +08:00
|
|
|
leptos_router = { workspace = 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-08-15 00:59:16 +08:00
|
|
|
icondata = "0.3.1"
|
|
|
|
palette = "0.7.6"
|
|
|
|
chrono = "0.4.38"
|
2024-03-22 17:22:53 +08:00
|
|
|
cfg-if = "1.0.0"
|
2024-07-09 15:04:20 +08:00
|
|
|
# leptos-use = "0.10.10"
|
2024-07-08 00:29:04 +08:00
|
|
|
send_wrapper = "0.6"
|
2024-07-29 17:03:17 +08:00
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
console_log = "1"
|
|
|
|
log = "0.4"
|
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"]
|
2024-07-07 18:33:45 +08:00
|
|
|
csr = ["leptos/csr", "thaw/csr"]
|
2023-11-24 10:04:54 +08:00
|
|
|
ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "thaw/ssr"]
|
2024-08-09 14:05:24 +08:00
|
|
|
hydrate = ["leptos/hydrate", "thaw/hydrate"]
|
|
|
|
nightly = ["leptos/nightly", "leptos_router/nightly", "thaw/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
|
|
|
|
|
2024-07-08 12:01:05 +08:00
|
|
|
# [profile.dev]
|
|
|
|
# opt-level = 1
|
2024-01-07 19:20:08 +08:00
|
|
|
|
2024-07-08 12:01:05 +08:00
|
|
|
# [profile.dev.package."*"]
|
|
|
|
# opt-level = 3
|