seperate into multiple source files

This commit is contained in:
2023-08-29 06:47:40 +02:00
parent ced346f776
commit 63f160ff4a
6 changed files with 187 additions and 144 deletions

14
src/structs.rs Normal file
View File

@@ -0,0 +1,14 @@
#[derive(serde::Deserialize, serde::Serialize)]
pub struct CdnFile {
pub name: String,
pub size: u32,
pub hash: String,
}
#[derive(serde::Deserialize, serde::Serialize)]
pub struct Game<'a> {
pub engine: &'a str,
pub client: Vec<&'a str>,
pub references: Vec<&'a str>,
pub app_id: u32,
}