Parent
[>]
1//! Route handlers for tag pages. 2//! 3//! Covers two routes: the tag list (`/{repo}/tags`) and the tag detail page 4//! (`/{repo}/tags/{*tag}`). The detail handler peels the tag ref to its 5//! commit and presents a release-oriented view with the annotation message, 6//! commit info, and archive download links. 7 8use Template; 9use WebTemplate; 10use ; 11use IntoResponse; 12use Deserialize; 13 14use crateResult; 15use crategit; 16use crate; 17 18 19pub 22 23/// Template context for the tag list page. 24 25 26 30 31/// Template context for the tag detail page. 32 33 34 44 45/// Renders the full list of tags for a repository, sorted newest first. 46pub async 54 55/// Renders the detail page for a single tag. 56pub async