mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 03:15:48 -06:00
- Add retry configuration for flaky tests (2 retries for default, 3 for OAuth) - Configure test groups with proper concurrency limits (serial: 1, integration: 4) - Add tower-http tracing layer with custom span formatting for HTTP requests - Simplify database pool handling by removing unnecessary Arc wrapper - Improve test context setup with better logging and error handling - Refactor user creation parameters for better clarity and consistency - Add debug logging for OAuth cookie handling
75 lines
2.1 KiB
TOML
75 lines
2.1 KiB
TOML
[package]
|
|
name = "pacman-server"
|
|
version = "0.4.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version = "1.85.0"
|
|
description = "A leaderboard API for the Pac-Man game"
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
publish.workspace = true
|
|
default-run = "pacman-server"
|
|
|
|
[lib]
|
|
name = "pacman_server"
|
|
path = "src/lib.rs"
|
|
|
|
# I have no idea why s3-tokio isn't being detected as a dependency, but it's not.
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["s3-tokio"]
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8", features = ["macros"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
oauth2 = "5"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
sqlx = { version = "0.8", features = [
|
|
"runtime-tokio-rustls",
|
|
"postgres",
|
|
"chrono",
|
|
] }
|
|
chrono = { version = "0.4", features = ["serde", "clock"] }
|
|
figment = { version = "0.10", features = ["env"] }
|
|
dotenvy = "0.15"
|
|
dashmap = "6.1"
|
|
axum-cookie = "0.2"
|
|
async-trait = "0.1"
|
|
jsonwebtoken = { version = "9.3", default-features = false }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.20", features = ["env-filter", "json"] }
|
|
tracing-futures = { version = "0.2.5", features = ["tokio"] }
|
|
tower-http = { version = "0.6", features = ["trace"] }
|
|
time = { version = "0.3", features = ["macros", "formatting"] }
|
|
yansi = "1"
|
|
s3-tokio = { version = "0.39.6", default-features = false }
|
|
rustls = { version = "0.23", features = ["ring"] }
|
|
image = { version = "0.25", features = ["png", "jpeg"] }
|
|
sha2 = "0.10"
|
|
mockall = "0.13.1"
|
|
# validator = { version = "0.16", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
http = "1"
|
|
hyper = { version = "1", features = ["server", "http1"] }
|
|
hyper-util = { version = "0.1", features = ["server", "tokio", "http1"] }
|
|
bytes = "1"
|
|
anyhow = "1"
|
|
axum-test = "18.1.0"
|
|
pretty_assertions = "1.4.1"
|
|
testcontainers = "0.25.0"
|
|
bon = "3.7.2"
|
|
cookie = "0.18.1"
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = [
|
|
'cfg(coverage,coverage_nightly)',
|
|
'cfg(use_console)',
|
|
] }
|