Compare commits

...

6 Commits

Author SHA1 Message Date
Taiki Endo
55aaa89c2f Release 2.20.8 2023-10-19 03:15:49 +09:00
Taiki Endo
45764be6ba Update parse-changelog@latest to 0.6.4 2023-10-19 03:11:17 +09:00
Taiki Endo
cd04d6bed9 Update cargo-llvm-cov@latest to 0.5.35 2023-10-19 03:11:17 +09:00
Taiki Endo
9fa9dc1e41 codegen: Allow compiling serde and serde_derive in parallel 2023-10-18 23:22:44 +09:00
Taiki Endo
56763447c1 Release 2.20.7 2023-10-18 20:55:19 +09:00
Taiki Endo
8a192a7d6e Update cargo-hack@latest to 0.6.11 2023-10-18 20:42:26 +09:00
6 changed files with 101 additions and 16 deletions

View File

@@ -10,6 +10,16 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.20.8] - 2023-10-18
- Update `parse-changelog@latest` to 0.6.4.
- Update `cargo-llvm-cov@latest` to 0.5.35.
## [2.20.7] - 2023-10-18
- Update `cargo-hack@latest` to 0.6.11.
## [2.20.6] - 2023-10-17
- Update `cargo-hack@latest` to 0.6.10.
@@ -1315,7 +1325,9 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.20.6...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.20.8...HEAD
[2.20.8]: https://github.com/taiki-e/install-action/compare/v2.20.7...v2.20.8
[2.20.7]: https://github.com/taiki-e/install-action/compare/v2.20.6...v2.20.7
[2.20.6]: https://github.com/taiki-e/install-action/compare/v2.20.5...v2.20.6
[2.20.5]: https://github.com/taiki-e/install-action/compare/v2.20.4...v2.20.5
[2.20.4]: https://github.com/taiki-e/install-action/compare/v2.20.3...v2.20.4

View File

@@ -2,10 +2,36 @@
"rust_crate": "cargo-hack",
"template": null,
"latest": {
"version": "0.6.10"
"version": "0.6.11"
},
"0.6": {
"version": "0.6.10"
"version": "0.6.11"
},
"0.6.11": {
"x86_64_linux_musl": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
"checksum": "b1caecd3cdb0aa2ecf5981bd3ca7736fc9931fa8500674b49ca9d816e416cf7a"
},
"x86_64_macos": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-x86_64-apple-darwin.tar.gz",
"checksum": "6819242f22bb219b9955dccc2075b4edf3b11b28b362e9c219789ff829878524"
},
"x86_64_windows": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
"checksum": "8cb102297aecad58454ac6f70773908ab68e89a0585c2fbf23bb103c44466bdb"
},
"aarch64_linux_musl": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
"checksum": "dcd8d5b7e8baa1a449beef0dd43c6c9fb724c950febb5a3f0ffa3bb326f18918"
},
"aarch64_macos": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-aarch64-apple-darwin.tar.gz",
"checksum": "c30a4842af20ff8edff34a5d72e1f8b193156f6625840e0a8451af2a6995ffaf"
},
"aarch64_windows": {
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.11/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
"checksum": "a8ff741f14968ec74f518b9ce427c3c3ae78e97b87f7d5ef3d76bb61aefd8cd3"
}
},
"0.6.10": {
"x86_64_linux_musl": {

View File

@@ -18,10 +18,27 @@
}
},
"latest": {
"version": "0.5.34"
"version": "0.5.35"
},
"0.5": {
"version": "0.5.34"
"version": "0.5.35"
},
"0.5.35": {
"x86_64_linux_musl": {
"checksum": "21e7d42185f8eae113508ec2b8c3bfdd22c6293bb6b0ccd74ab0bd21153dc3b4"
},
"x86_64_macos": {
"checksum": "dca22baa597f337ee78f5418b19bb2367108da77cb430be30febd55901537a2f"
},
"x86_64_windows": {
"checksum": "45b21cd8b0f89b6ee5ad3093fcb542cf8c41ce86e36e89b7a26166c9f7792e47"
},
"aarch64_linux_musl": {
"checksum": "56c69758d6bb493dba53a2ac21343a983d22ca677d9ecfe8a4bb66fd185013e8"
},
"aarch64_macos": {
"checksum": "28525454f2fe26ad8eba301134aeff305348b4e143ebdb62f07f2c93db1eb347"
}
},
"0.5.34": {
"x86_64_linux_musl": {

View File

@@ -2,10 +2,36 @@
"rust_crate": "parse-changelog",
"template": null,
"latest": {
"version": "0.6.3"
"version": "0.6.4"
},
"0.6": {
"version": "0.6.3"
"version": "0.6.4"
},
"0.6.4": {
"x86_64_linux_musl": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-x86_64-unknown-linux-musl.tar.gz",
"checksum": "df2d97039ede5d93785a801a5d998627ba28bc5d2b092d6602356f7aa9149706"
},
"x86_64_macos": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-x86_64-apple-darwin.tar.gz",
"checksum": "071cd442ad95ea97f14b71cf005558ee08ec33b76e0456c933c6ed9f9033cf16"
},
"x86_64_windows": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-x86_64-pc-windows-msvc.tar.gz",
"checksum": "200bd6074d65e715aee01ea44be992081409c95bd6f852dc59327a14882f820b"
},
"aarch64_linux_musl": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-aarch64-unknown-linux-musl.tar.gz",
"checksum": "ca6d8407b30647465ecc9188f0b1ee83479f05ed378db504ddbe666e15612409"
},
"aarch64_macos": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-aarch64-apple-darwin.tar.gz",
"checksum": "2d3ad67d62a806d2f62e741a53375900e886cb8d414c804cd8c6bb596fb4f06d"
},
"aarch64_windows": {
"url": "https://github.com/taiki-e/parse-changelog/releases/download/v0.6.4/parse-changelog-aarch64-pc-windows-msvc.tar.gz",
"checksum": "e206f5699322ed0e2b91d14b26687cf2040be863dd035490ae68ada19872b416"
}
},
"0.6.3": {
"x86_64_linux_musl": {

View File

@@ -10,7 +10,8 @@ flate2 = "1"
fs-err = "2"
minisign-verify = "0.2"
semver = { version = "1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde = "1"
serde_derive = "1"
serde_json = "1"
sha2 = "0.10"
tar = "0.4"

View File

@@ -17,7 +17,11 @@ use std::{
use anyhow::{bail, Context as _, Result};
use fs_err as fs;
use serde::{Deserialize, Serialize};
use serde::{
de::{self, Deserialize, Deserializer},
ser::{Serialize, Serializer},
};
use serde_derive::{Deserialize, Serialize};
use sha2::{Digest, Sha256};
fn main() -> Result<()> {
@@ -617,7 +621,7 @@ impl FromStr for Version {
impl Serialize for Version {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
S: Serializer,
{
String::serialize(&self.to_string(), serializer)
}
@@ -625,10 +629,9 @@ impl Serialize for Version {
impl<'de> Deserialize<'de> for Version {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
D: Deserializer<'de>,
{
use serde::de::Error as _;
String::deserialize(deserializer)?.parse().map_err(D::Error::custom)
String::deserialize(deserializer)?.parse().map_err(de::Error::custom)
}
}
@@ -799,7 +802,7 @@ impl HostPlatform {
}
mod github {
use serde::Deserialize;
use serde_derive::Deserialize;
// https://api.github.com/repos/<repo>/releases
pub type Releases = Vec<Release>;
@@ -821,7 +824,7 @@ mod github {
}
mod crates_io {
use serde::Deserialize;
use serde_derive::Deserialize;
// https://crates.io/api/v1/crates/<crate>
#[derive(Debug, Deserialize)]
@@ -839,7 +842,7 @@ mod crates_io {
}
mod cargo_manifest {
use serde::Deserialize;
use serde_derive::Deserialize;
#[derive(Debug, Deserialize)]
pub struct Manifest {