gitdataai/libs/frontend/Cargo.toml
ZhenYi 215846b1db feat(api): pre-compress static assets with brotli and gzip
- build.rs: generate .gz and .br compressed variants at build time,
  embed both into the FRONTEND constant
- dist.rs: content-type for SPA fallback uses index.html path explicitly,
  explicit extension mapping for Vite content-hashed filenames
- frontend lib: get_frontend_asset_compressed returns (data, encoding, etag)
2026-04-25 20:09:09 +08:00

14 lines
251 B
TOML

[package]
name = "frontend"
version.workspace = true
edition.workspace = true
[dependencies]
lazy_static.workspace = true
[build-dependencies]
walkdir.workspace = true
md5.workspace = true
brotli = { workspace = true }
flate2 = { workspace = true }