Standalone module (no engine/index/filter-grammar deps) that normalizes relative humantime (5h, -3m), absolute time-of-day (12:00, resolved to today in UTC), and full date/RFC3339 literals (2024-01-15, 2024-01-15T12:00:00Z) into a single Timestamp, given a passed-in `now` for testability. Adds humantime and chrono dependencies. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XFUNZwCvz3kcod3352ZR2o
15 lines
383 B
TOML
15 lines
383 B
TOML
[package]
|
|
name = "ottyl"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8.9", features = ["json"] }
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
tower-http = { version = "0.6", features = ["fs", "cors"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
chrono = "0.4"
|
|
humantime = "2"
|