bootstrap: tracing-subscriber with RUST_LOG env filter, ServerConfig from env vars (KFRAME_DATABASE_URL, KFRAME_TCP_ADDR, etc.), dotenvy for .env file loading. Replaced all println with tracing macros. tcp-server: replaced println with tracing::info/warn. Added .env.example and .gitignore for db files.
13 lines
232 B
TOML
13 lines
232 B
TOML
[package]
|
|
name = "tcp-server"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
domain.workspace = true
|
|
protocol.workspace = true
|
|
tokio.workspace = true
|
|
postcard.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|