mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 02:26:38 -06:00
feat: embed SvelteKit client assets in Rust binary
- Add include_dir for serving /_app static bundles from binary - Add console-logger.js for structured JSON logs from Bun - Fix API routing edge cases and add method restrictions
This commit is contained in:
+3
-1
@@ -6,8 +6,10 @@ edition = "2024"
|
||||
[dependencies]
|
||||
axum = "0.8.8"
|
||||
clap = { version = "4.5.54", features = ["derive", "env"] }
|
||||
include_dir = "0.7.4"
|
||||
mime_guess = "2.0.5"
|
||||
nu-ansi-term = "0.50.3"
|
||||
reqwest = { version = "0.13", features = ["charset", "json"], default-features = false }
|
||||
reqwest = { version = "0.13.1", default-features = false, features = ["rustls", "charset", "json", "stream"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.148"
|
||||
time = { version = "0.3.44", features = ["formatting", "macros"] }
|
||||
|
||||
Reference in New Issue
Block a user