[omg] GUI, mDNS, list games on client start

This commit is contained in:
2024-11-10 15:11:22 +01:00
parent 70c327ff03
commit 89af1f9176
46 changed files with 5790 additions and 206 deletions

View File

@ -27,9 +27,7 @@ pub struct Game {
/// example: 1.0.0
#[serde(with = "version_serde")]
pub version: semver::Version,
/// size (bytes) (not serialized)
#[serde(skip)]
/// size (bytes)
pub size: u64,
}
@ -57,7 +55,7 @@ impl fmt::Display for Game {
impl PartialEq for Game {
fn eq(&self, other: &Self) -> bool {
self.name == other.name
self.id == other.id
}
}