Deliver the interrupted network extension backlog: declarative middleware (CORS, security headers, gzip, JSON API), SQLite pool/transactions/pagination, and W3 security (argon2 passwords, CSRF on forms/login, persistent sessions, CSPRNG ids, login rate limiting). Adds gold smokes and author-facing hash_password on ext/web. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
745 B
TOML
24 lines
745 B
TOML
[package]
|
|
name = "marqdo_plugin_web"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "Marqdo web plugin (ABI v2) — HTTP, SQLite, page assemble"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "web"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "time", "signal"] }
|
|
axum = { version = "0.8", features = ["ws", "json", "query"] }
|
|
tower-http = { version = "0.6", features = ["fs", "cors", "compression-gzip", "limit", "set-header", "trace", "propagate-header"] }
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
tokio-tungstenite = "0.24"
|
|
futures-util = "0.3"
|
|
argon2 = "0.5"
|
|
getrandom = "0.2"
|