release v0.1.1: RpmInfo 增加 Eq、Hash 特性
Signed-off-by: Jia Chao <jiachao2130@126.com>
This commit is contained in:
parent
3588e49e41
commit
2ad39b2a67
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "updateinfo-xmlparser"
|
name = "updateinfo-xmlparser"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -176,7 +176,7 @@ impl UpdateInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct RpmInfo {
|
pub struct RpmInfo {
|
||||||
// 包名
|
// 包名
|
||||||
name: String,
|
name: String,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user