Crates.io | dotent |
lib.rs | dotent |
version | 0.2.10 |
source | src |
created_at | 2022-08-27 08:58:37.824975 |
updated_at | 2023-01-28 09:43:16.122094 |
description | A crate for handling Entry File(.ent). |
homepage | |
repository | https://github.com/jedeop/dotent-rs |
max_upload_size | |
id | 653340 |
size | 189,862 |
A crate for handling Entry File(.ent
).
use dotent::entry::Entry;
fn main() {
// Read Entry file.
let mut entry = Entry::read_file("./path/to/file.ent").unwrap();
// Get the project data of Entry file.
let project = entry.project();
println!("{}", project.name);
// Get assets in Entry file.
let assets = entry.assets();
let keys = assets.keys();
println!("{:#?}", keys);
}