normogen/web/frontend-server/Cargo.toml
goose 043b4442a7
Some checks failed
Lint and Build / format (push) Successful in 43s
Lint and Build / clippy (push) Successful in 2m42s
Lint and Build / build (push) Successful in 3m44s
Lint and Build / test (push) Failing after 1s
fix: HTTPS with self-signed cert for Web Crypto API support
Browsers disable crypto.subtle on non-localhost HTTP. The frontend server now
generates a self-signed TLS cert at startup and serves over HTTPS by default
(FRONTEND_TLS=true). FRONTEND_TLS=0 disables it for localhost dev.

Added axum-server (tls-rustls) + rcgen deps to the frontend-server crate.
2026-07-14 11:43:56 -03:00

16 lines
408 B
TOML

[package]
name = "normogen-frontend-server"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "normogen-frontend-server"
path = "src/main.rs"
[dependencies]
axum = "0.7"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.5", features = ["fs", "trace"] }
reqwest = { version = "0.12", features = ["json"] }
axum-server = { version = "0.7", features = ["tls-rustls"] }
rcgen = "0.13"