| 1 | [package] |
| 2 | name = "drophawk-backend" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | rust-version = "1.96" |
| 6 | |
| 7 | [dependencies] |
| 8 | tokio = { version = "=1.45.1", features = ["full", "parking_lot", "tracing"] } |
| 9 | axum = { version = "=0.8.4", features = ["macros", "tokio", "ws"] } |
| 10 | tower = "=0.5.2" |
| 11 | tower-http = { version = "=0.6.6", features = ["cors", "trace", "compression-br", "compression-gzip", "timeout", "request-id"] } |
| 12 | hyper = { version = "=1.6.0", features = ["full"] } |
| 13 | reqwest = { version = "=0.12.22", default-features = false, features = ["json", "gzip", "brotli", "rustls-tls", "http2", "stream"] } |
| 14 | sqlx = { version = "=0.8.6", features = ["runtime-tokio-rustls", "postgres", "macros", "migrate", "chrono", "json", "ipnetwork"] } |
| 15 | async-nats = "=0.41.0" |
| 16 | redis = { version = "=0.32.3", features = ["tokio-rustls-comp", "connection-manager"] } |
| 17 | serde = { version = "=1.0.219", features = ["derive"] } |
| 18 | serde_json = { version = "=1.0.140", features = ["preserve_order", "raw_value"] } |
| 19 | chrono = { version = "=0.4.41", features = ["serde", "clock"], default-features = false } |
| 20 | uuid = { version = "=1.17.0", features = ["v7", "serde"] } |
| 21 | sha2 = "=0.10.9" |
| 22 | hex = "=0.4.3" |
| 23 | tracing = "=0.1.41" |
| 24 | tracing-subscriber = { version = "=0.3.19", features = ["env-filter", "json", "registry"] } |
| 25 | opentelemetry = "=0.29.0" |
| 26 | opentelemetry-otlp = "=0.29.0" |
| 27 | opentelemetry_sdk = { version = "=0.29.0", features = ["rt-tokio"] } |
| 28 | thiserror = "=2.0.12" |
| 29 | async-trait = "=0.1.88" |
| 30 | validator = { version = "=0.20.0", features = ["derive"] } |
| 31 | figment = { version = "=0.10.19", features = ["env", "toml"] } |
| 32 | anyhow = "=1.0.98" |
| 33 | prometheus = "=0.14.0" |
| 34 | once_cell = "=1.21.3" |
| 35 | parking_lot = "=0.12.3" |
| 36 | futures = "=0.3.31" |
| 37 | bytes = "=1.10.1" |
| 38 | mime = "=0.3.17" |
| 39 | url = { version = "=2.5.4", features = ["serde"] } |
| 40 | regex = "=1.11.1" |
| 41 | rand = { version = "=0.8.5", features = ["small_rng"] } |
| 42 | tokio-stream = { version = "=0.1.17", features = ["sync"] } |
| 43 | |
| 44 | [dev-dependencies] |
| 45 | wiremock = "=0.6.3" |
| 46 | tokio-test = "=0.4.4" |
| 47 | pretty_assertions = "=1.4.1" |
| 48 | insta = "=1.43.1" |
| 49 | |
| 50 | [profile.release] |
| 51 | lto = "fat" |
| 52 | codegen-units = 1 |
| 53 | strip = "symbols" |
| 54 | panic = "abort" |
| 55 | opt-level = 3 |