b8a0a0ff16
Expose the daemon request surface over /v1 with Axum, reuse shared key parsing between CLI and HTTP, and add an isolated end-to-end HTTP test that boots a real daemon process with temp XDG paths.
27 lines
768 B
TOML
27 lines
768 B
TOML
[package]
|
|
name = "tvctl"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
axum = { version = "0.8", features = ["multipart"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
libc = "0.2"
|
|
md5 = "0.7"
|
|
reqwest = { version = "0.12", default-features = false, features = ["charset", "http2", "json", "multipart", "rustls-tls"] }
|
|
roxmltree = "0.20"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "2.0"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
toml = "0.8"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
urlencoding = "2.1"
|
|
uuid = { version = "1.0", features = ["serde", "v4"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.23"
|