#entry #assets #ent #read #file #data

dotent

A crate for handling Entry File(.ent)

12 releases

0.2.10 Jan 28, 2023
0.2.9 Jan 28, 2023
0.1.0 Aug 27, 2022

#242 in Configuration

Download history 2/week @ 2024-02-15 5/week @ 2024-02-22 1/week @ 2024-02-29 2/week @ 2024-03-07 2/week @ 2024-03-14 32/week @ 2024-03-28 32/week @ 2024-04-04

64 downloads per month

MIT license

175KB
446 lines

dotent-rs

A crate for handling Entry File(.ent).

Usage

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);
}

Dependencies

~5–15MB
~200K SLoC