Parent
[>]
1 2 3 4 5 6 7 8 9 10use HashMap; 11use ; 12 13use Router; 14use ; 15use header; 16use Parts; 17use IntoResponse; 18use get; 19use Timestamp; 20use ; 21 22use crate; 23 24/// Returns the commit's author timestamp as Unix seconds. 25pub 28 29/// Formats a commit's author date as a `YYYY-MM-DD` string in the commit's 30/// local timezone, returning `None` if the time cannot be parsed. 31pub 39 40/// Formats a commit's committer date as a `YYYY-MM-DD` string in the 41/// commit's local timezone, returning `None` if the time cannot be parsed. 42pub 51 52/// Axum extractor that pulls the `{repo}` path parameter and validates it 53/// contains no path traversal components before passing it to handlers. 54; 55 56 81 82/// Shared application state passed to all route handlers. 83 84 90 91/// Serves the concatenated stylesheet. 92async 98 99/// Builds the application router with all routes and shared state attached. 100