Crate thermite

Source
Expand description

§Basic Usage:

use thermite::prelude::*;
use std::io::Cursor;

fn example() {
    let index = get_package_index().unwrap();
    if let Some(md) = index.iter().find(|e| e.name == "server_utilities") {
        let latest = md.get_latest().unwrap();
        let mut zipped = vec![];
        download(&mut zipped, &latest.url).unwrap();
        install_mod(&latest.full_name, Cursor::new(zipped), "packages").unwrap();
    }    
}

Modules§

api
core
error
model
prelude

Constants§

CORE_MODS
The names of the Northstar core mods as found in their mod.json files, all lowercase
TITANFALL2_ORIGIN_IDS
Titanfall 2’s Origin/EA App ids
TITANFALL2_STEAM_ID
Titanfall 2’s Steam appid