5d308df2b5
The TOML dependency is added to `Cargo.lock` to support configuration file parsing. New modules `config` and `startup` are introduced in `doctate-client-core`: - `config`: Handles client configuration loading and saving, including defaults for polling intervals and window hours. - `startup`: Contains routines for initial cleanup tasks, such as removing stale markers and orphan audio files based on defined retention periods.
24 lines
664 B
TOML
24 lines
664 B
TOML
[package]
|
|
name = "doctate-client-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "Shared client logic for the doctate medical dictation system: case store, server sync worker, config, snapshot cache"
|
|
|
|
[dependencies]
|
|
doctate-common = { path = "../doctate-common" }
|
|
tokio = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml = { workspace = true }
|
|
uuid = { workspace = true }
|
|
time = { workspace = true }
|
|
tracing = { workspace = true }
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
wiremock = "0.6"
|
|
filetime = "0.2"
|