Clap now reads PORT from the environment, accepting either a bare port number (e.g. 8080 -> 0.0.0.0:8080) or a full host:port. CLI --listen flag still takes precedence. Deploy Dockerfile defaults PORT=9500 and removes the hardcoded --listen argument. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
703 B
TOML
26 lines
703 B
TOML
[package]
|
|
name = "tidal-server"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
name = "tidal_server"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
subtle = "2"
|
|
tower = { version = "0.5", features = ["limit"] }
|
|
tower-http = { version = "0.6", features = ["timeout", "trace", "request-id"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tidaldb = { path = "../tidal" }
|