Parent
[>]
1 2 3 4 5 6 7 8 9use HashMap; 10use ; 11 12use Router; 13use ; 14use header; 15use Parts; 16use IntoResponse; 17use get; 18use Timestamp; 19use ; 20 21use crate; 22 23/// Returns the commit's author timestamp as Unix seconds. 24pub 27 28/// Formats a commit's author date as a `YYYY-MM-DD` string in the commit's 29/// local timezone, returning `None` if the time cannot be parsed. 30pub 38 39/// Axum extractor that pulls the `{repo}` path parameter and validates it 40/// contains no path traversal components before passing it to handlers. 41; 42 43 68 69/// Shared application state passed to all route handlers. 70 71 77 78/// Serves the concatenated stylesheet. 79async 85 86/// Builds the application router with all routes and shared state attached. 87