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/// Formats a commit's author date as a `YYYY-MM-DD` string in the commit's 24/// local timezone, returning `None` if the time cannot be parsed. 25pub 33 34/// Axum extractor that pulls the `{repo}` path parameter and validates it 35/// contains no path traversal components before passing it to handlers. 36; 37 38 63 64/// Shared application state passed to all route handlers. 65 66 72 73/// Serves the concatenated stylesheet. 74async 80 81/// Builds the application router with all routes and shared state attached. 82