feat: add conditional asset embedding with dev/prod build separation

- Add embed-assets feature flag to make rust-embed/mime_guess optional
- Update Justfile with backend-dev command for development (no embedded assets)
- Add CORS middleware when assets not embedded (for Vite proxy)
- Improve db recipe with Bun script supporting start/reset/rm commands
This commit is contained in:
2026-01-28 13:31:00 -06:00
parent 966732a6d2
commit 57a6a9871f
5 changed files with 126 additions and 69 deletions
+1
View File
@@ -1,5 +1,6 @@
//! Web API module for the banner application.
#[cfg(feature = "embed-assets")]
pub mod assets;
pub mod routes;