12 releases

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

#295 in Configuration

25 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–14MB
~193K SLoC