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,