Logging. CORS(*). Version in response and error type for JSON response

This commit is contained in:
Martin Berg Alstad
2024-06-13 18:58:50 +02:00
parent c1b9273e0c
commit 2a826be8ea
7 changed files with 203 additions and 12 deletions

View File

@ -1,11 +1,19 @@
[package]
name = "simplify_truths"
version = "0.1.0"
version = "2.0.0"
edition = "2021"
authors = ["Martin Berg Alstad"]
[dependencies]
# Parsing
nom = "7.1.3"
axum = "0.7.5"
# Async
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
# Serialization / Deserialization
serde = { version = "1.0.203", features = ["derive"] }
# API
axum = "0.7.5"
tower-http = { version = "0.5.2", features = ["cors", "trace"] }
# Logging
tracing = "0.1.40"
tracing-subscriber = "0.3.18"