12 releases

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

#558 in Configuration

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
~216K SLoC