feat: add basic HTTP, websocket functionality

- add ntex and serde as requirements
- add HTTP server with index/ and ws/ endpoints
- add websocket types and systems, basic Ping and GetTracks endpoints
- add serialize/deserialize support to models::Tracks
- add handle and get_tracks method to library
- clean up types.rs
This commit is contained in:
skybldev
2026-10-26 02:09:19 -04:00
parent c5c3f1ebc0
commit 48f548be6d
6 changed files with 287 additions and 15 deletions

View File

@@ -8,3 +8,6 @@ diesel = { version = "2.3.14", features = ["sqlite", "returning_clauses_for_sqli
diesel_migrations = { version = "2.3.2", features = ["sqlite"] }
dotenvy = "0.15.7"
lofty = "0.25.4"
ntex = { version = "4.4.0", features = ["tokio"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"