summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml22
1 files changed, 14 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e53686a..7fa8aa3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,15 +14,15 @@ console_error_panic_hook = { version = "0.1", optional = true}
 leptos_axum = { version = "0.7.0", optional = true }
 leptos_meta = { version = "0.7.0" }
 tokio = { version = "1", features = ["rt-multi-thread", "signal", "fs"], optional = true }
-tokio-stream = {version = "0.1.17", features = ["fs"]}
+tokio-stream = {version = "0.1.17", features = ["fs"], optional = true}
 wasm-bindgen = { version = "=0.2.100", optional = true }
 serde = { version = "^1.0.219", features = ["derive"] }
-stylance = "0.5.5"
-toml = { version = "0.8.20", features = ["parse"] }
-uuid = { version = "1.16.0", features = ["v4"] }
-chrono = "0.4.40"
-fs2 = "0.4.3"
-futures = "0.3.31"
+stylance = { version = "0.5.5" }
+toml = { version = "0.8.20", features = ["parse"], optional = true }
+uuid = { version = "1.16.0", features = ["v4"], optional = true }
+chrono = { version = "0.4.40", optional = true }
+fs2 = { version = "0.4.3", optional = true}
+futures = { version = "0.3.31", optional = true}
 
 [features]
 default = ["ssr"]
@@ -35,6 +35,12 @@ ssr = [
     "dep:axum",
     "dep:tokio",
     "dep:leptos_axum",
+    "dep:tokio-stream",
+    "dep:toml",
+    "dep:uuid",
+    "dep:chrono",
+    "dep:fs2",
+    "dep:futures",
     "leptos/ssr",
     "leptos_meta/ssr",
     "leptos_router/ssr",
@@ -51,7 +57,7 @@ panic = "abort"
 [package.metadata.leptos]
 output-name = "stormscribe"
 site-root = "target/stormscribe"
-site-pkg-dir = "pkg"
+site-pkg-dir = "_"
 assets-dir = "public"
 style-file = ".generated-style.scss"
 site-addr = "127.0.0.1:3000"