Initial commit
This commit is contained in:
88
backend/Cargo.toml
Executable file
88
backend/Cargo.toml
Executable file
@@ -0,0 +1,88 @@
|
||||
[package]
|
||||
name = "sap-sync-backend"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
# Web framework
|
||||
rouille = "3.6"
|
||||
|
||||
# Database
|
||||
postgres = { version = "0.19", features = ["with-chrono-0_4"] }
|
||||
r2d2 = "0.8"
|
||||
r2d2_postgres = "0.18"
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# Security
|
||||
argon2 = "0.5"
|
||||
rand = "0.8"
|
||||
|
||||
# Date/Time
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
# Error handling
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
|
||||
# Logging
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
|
||||
# Validation
|
||||
validator = { version = "0.16", features = ["derive"] }
|
||||
|
||||
# API Documentation
|
||||
utoipa = { version = "4.0", features = ["axum_extras"] }
|
||||
utoipa-swagger-ui = { version = "5.0", features = ["axum"] }
|
||||
|
||||
# Metrics
|
||||
prometheus = "0.13"
|
||||
|
||||
# Rate Limiting
|
||||
tower_governor = "0.4"
|
||||
|
||||
# Config
|
||||
dotenvy = "0.15"
|
||||
|
||||
# UUID
|
||||
uuid = { version = "1.0", features = ["v4", "serde"] }
|
||||
|
||||
# Cryptography
|
||||
base64 = "0.22"
|
||||
sha2 = "0.10"
|
||||
hmac = "0.12"
|
||||
|
||||
# XML parsing
|
||||
quick-xml = "0.31"
|
||||
|
||||
# URL encoding
|
||||
urlencoding = "2.1"
|
||||
|
||||
async-stream = "0.3"
|
||||
|
||||
# MFA
|
||||
totp-lite = "2.0"
|
||||
|
||||
# Exports
|
||||
csv = "1.3"
|
||||
rust_xlsxwriter = "0.64"
|
||||
printpdf = "0.5"
|
||||
axum = "0.8.8"
|
||||
hex = "0.4.3"
|
||||
ureq = "3.3.0"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
mockall = "0.12"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
Reference in New Issue
Block a user