mod structs;

#[path = "src/util.rs"]
mod util;

use std::{env, fs, path::PathBuf};
use structs::DefData;
use util::parse_jsonc;

fn main() {
    let manifest = env::var_os("CARGO_MANIFEST_DIR").unwrap();

    // parse default definitions
    let content = fs::read_to_string(PathBuf::from(manifest).join("src/data/definitions.json"))