xtask: Remove dead code

This commit is contained in:
Jonas Platte 2021-09-12 19:45:38 +02:00
parent a875f39648
commit 2141de3465
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -11,7 +11,6 @@ use isahc::{
HttpClient, ReadResponseExt, Request,
};
use semver::{Identifier, Version};
use serde::Deserialize;
use serde_json::json;
use crate::{cargo::Package, cmd, util::ask_yes_no, GithubConfig, Metadata, Result};
@ -299,13 +298,6 @@ impl ReleaseTask {
}
}
/// A tag from the `GET /repos/{owner}/{repo}/tags` endpoint of GitHub REST API.
#[derive(Debug, Deserialize)]
struct GithubTag {
/// The name of the tag.
name: String,
}
/// String manipulations for crate release.
trait StrExt {
/// Remove soft line breaks as defined in CommonMark spec.