working quote submission (with limits for now)

- must have two lines
- can only submit timestamp in system timezone
This commit is contained in:
2026-04-05 22:11:43 +02:00
parent b0d86efae6
commit 26be03ba31
4 changed files with 102 additions and 16 deletions

39
Cargo.lock generated
View File

@@ -185,6 +185,31 @@ dependencies = [
"tracing",
]
[[package]]
name = "axum-extra"
version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fef252edff26ddba56bbcdf2ee3307b8129acb86f5749b68990c168a6fcc9c76"
dependencies = [
"axum",
"axum-core",
"bytes",
"form_urlencoded",
"futures-core",
"futures-util",
"http",
"http-body",
"http-body-util",
"mime",
"pin-project-lite",
"serde_core",
"serde_html_form",
"serde_path_to_error",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "base32"
version = "0.5.1"
@@ -934,6 +959,7 @@ version = "0.1.0"
dependencies = [
"argon2",
"axum",
"axum-extra",
"base32",
"base64",
"chrono",
@@ -1289,6 +1315,19 @@ dependencies = [
"syn",
]
[[package]]
name = "serde_html_form"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2f2d7ff8a2140333718bb329f5c40fc5f0865b84c426183ce14c97d2ab8154f"
dependencies = [
"form_urlencoded",
"indexmap",
"itoa",
"ryu",
"serde_core",
]
[[package]]
name = "serde_json"
version = "1.0.149"