| Crates.io | egdata-manifests-parser |
| lib.rs | egdata-manifests-parser |
| version | 0.1.1 |
| created_at | 2025-05-03 23:22:51.132957+00 |
| updated_at | 2025-05-03 23:27:05.179185+00 |
| description | A parser for Epic Games manifest files |
| homepage | |
| repository | https://github.com/nachoaldamav/egdata-manifests-parser |
| max_upload_size | |
| id | 1659218 |
| size | 82,358 |
A Rust library for parsing Epic Games manifest files. This library provides both synchronous and asynchronous interfaces for reading and parsing manifest files used by Epic Games.
Add this to your Cargo.toml:
[dependencies]
egdata-manifests-parser = "0.1.0"
use egdata_manifests_parser::Manifest;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let manifest = Manifest::load("path/to/manifest.manifest")?;
println!("Manifest version: {}", manifest.header.version);
if let Some(meta) = &manifest.meta {
println!("App name: {}", meta.app_name);
println!("Build version: {}", meta.build_version);
}
Ok(())
}
use egdata_manifests_parser::Manifest;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let manifest = Manifest::load_async("path/to/manifest.manifest").await?;
println!("Manifest version: {}", manifest.header.version);
if let Some(meta) = &manifest.meta {
println!("App name: {}", meta.app_name);
println!("Build version: {}", meta.build_version);
}
Ok(())
}
This project is licensed under the MIT License - see the LICENSE file for details.