thaw/demo/Cargo.toml

44 lines
1.2 KiB
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-21 22:24:19 +08:00
leptos = { version = "0.5.7" }
leptos_meta = { version = "0.5.7" }
leptos_router = { version = "0.5.7" }
leptos_devtools = { version = "0.0.1", optional = true}
2023-12-30 17:29:44 +08:00
thaw = { path = "../thaw", default-features = false }
2023-10-18 23:49:27 +08:00
icondata = { version = "0.1.0", features = [
2023-06-19 23:07:01 +08:00
"AiCloseOutlined",
"AiCheckOutlined",
2023-11-08 11:02:38 +08:00
"AiGithubOutlined",
2023-11-16 20:25:22 +08:00
"AiUserOutlined",
"AiSearchOutlined",
"AiUnorderedListOutlined"
2023-06-19 23:07:01 +08:00
] }
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