Documentation: - Add detailed README files for all services (auth, character, database, launcher, packet, utils, world) - Create API documentation for the database service with detailed endpoint specifications - Document database schema and relationships - Add service architecture overviews and configuration instructions Unit Tests: - Implement comprehensive test suite for database repositories (user, character, session) - Add gRPC service tests for database interactions - Create tests for packet service components (bufferpool, connection, packets) - Add utility service tests (health check, logging, load balancer, redis cache, service discovery) - Implement auth service user tests - Add character service tests Code Structure: - Reorganize test files into a more consistent structure - Create a dedicated tests crate for integration testing - Add test helpers and mock implementations for easier testing
42 lines
964 B
TOML
42 lines
964 B
TOML
[package]
|
|
name = "packet-service"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# Define both a binary and a library target
|
|
[[bin]]
|
|
name = "packet-service"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "packet_service"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
mocks = []
|
|
consul = []
|
|
|
|
[dependencies]
|
|
dotenv = "0.15"
|
|
tokio = { version = "1.41.1", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
bytes = { version = "1.8.0", features = ["std", "serde"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "chrono"] }
|
|
bincode = { version = "2.0.0", features = ["derive", "serde"] }
|
|
thiserror = "2.0.3"
|
|
lazy_static = "1.5.0"
|
|
prometheus = "0.13.4"
|
|
hyper = { version = "1.5.1", features = ["server"] }
|
|
tonic = "0.12.3"
|
|
prost = "0.13.4"
|
|
utils = { path = "../utils" }
|
|
warp = "0.3.7"
|
|
dashmap = "6.1.0"
|
|
uuid = { version = "1.11.0", features = ["v4"] }
|
|
chrono = "0.4.39"
|
|
prometheus_exporter = "0.8.5"
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.12.3"
|