xtask: Remove dead code
This commit is contained in:
parent
a875f39648
commit
2141de3465
@ -11,7 +11,6 @@ use isahc::{
|
|||||||
HttpClient, ReadResponseExt, Request,
|
HttpClient, ReadResponseExt, Request,
|
||||||
};
|
};
|
||||||
use semver::{Identifier, Version};
|
use semver::{Identifier, Version};
|
||||||
use serde::Deserialize;
|
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
|
||||||
use crate::{cargo::Package, cmd, util::ask_yes_no, GithubConfig, Metadata, Result};
|
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.
|
/// String manipulations for crate release.
|
||||||
trait StrExt {
|
trait StrExt {
|
||||||
/// Remove soft line breaks as defined in CommonMark spec.
|
/// Remove soft line breaks as defined in CommonMark spec.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user