streamd/Cargo.toml
Konstantin Fickel 86433ca3dc
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-03-29 22:03:24 +02:00

41 lines
904 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 = "0.8"
thiserror = "2"
miette = { version = "7", features = ["fancy"] }
pulldown-cmark = "0.12"
regex = "1"
once_cell = "1"
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.9"
walkdir = "2"
indexmap = { version = "2", features = ["serde"] }
itertools = "0.13"
directories = "5"
[dev-dependencies]
pretty_assertions = "1"
tempfile = "3"
[[bin]]
name = "streamd"
path = "src/main.rs"
[lib]
name = "streamd"
path = "src/lib.rs"
[profile.release]
lto = true
strip = true