sendword 0.9.0

Simple HTTP webhook to command runner sidecar. Frontend for managing hooks, JSON state for config portability, SQLite for execution history and logs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn now_utc() -> String {
    chrono::Utc::now()
        .format("%Y-%m-%dT%H:%M:%S%.3fZ")
        .to_string()
}

/// Returns a timestamp string suitable for use in filenames (no colons or dots).
/// Format: `YYYYMMDD-HHMMSS`
pub fn now_utc_filename() -> String {
    chrono::Utc::now().format("%Y%m%d-%H%M%S").to_string()
}