streamd/Cargo.toml
Konstantin Fickel 92c8e9712a
feat(timesheet): add configuration model with period validation
Add TimesheetConfig and Period structs for configuring timesheet
periods with expected working hours per week. Include RepositoryConfig
for loading .streamd.toml with timezone and timesheet configuration.

Validation ensures:
- No overlapping periods
- Valid date ranges (start <= end)

Also adds chrono-tz dependency for timezone support.
2026-04-02 16:22:21 +02:00

41 lines
915 B
TOML

[package]
name = "streamd"
version = "0.1.0"
edition = "2021"
description = "Personal knowledge management and time-tracking CLI using @Tag annotations"
license = "AGPL-3.0-only"
authors = ["Konstantin Fickel"]
repository = "https://github.com/konstantinfickel/streamd"
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
serde = { version = "1", features = ["derive"] }
toml = "1.0"
thiserror = "2"
miette = { version = "7", features = ["fancy"] }
pulldown-cmark = "0.13"
regex = "1"
once_cell = "1"
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.9"
walkdir = "2"
indexmap = { version = "2", features = ["serde"] }
itertools = "0.14"
directories = "6"
[dev-dependencies]
pretty_assertions = "=1.4.1"
tempfile = "=3.27.0"
[[bin]]
name = "streamd"
path = "src/main.rs"
[lib]
name = "streamd"
path = "src/lib.rs"
[profile.release]
lto = true
strip = true