From 2ad39b2a67687c5d94ffd474ccffb96def97e591 Mon Sep 17 00:00:00 2001 From: Jia Chao Date: Mon, 12 Aug 2024 15:49:00 +0800 Subject: [PATCH] =?UTF-8?q?release=20v0.1.1:=20RpmInfo=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20Eq=E3=80=81Hash=20=E7=89=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jia Chao --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 066fb09..ca53992 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updateinfo-xmlparser" -version = "0.1.0" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/src/lib.rs b/src/lib.rs index 30b215f..041a7f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -176,7 +176,7 @@ impl UpdateInfo { } } -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Clone, Eq, Hash, PartialEq, Serialize, Deserialize)] pub struct RpmInfo { // 包名 name: String,