uranium-rs 1.0.3

Lib for downloading/making minecraft and modpacks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::sync::RwLock;

pub const EXTENSION: &str = "mrpack";
pub const TEMP_DIR: &str = "./temp_dir/";

/// In case NTHREADS cant be read this value will be returned
pub const DEFAULT_NTHREADS: usize = 8;
pub const RINTH_JSON: &str = "modrinth.index.json";
pub const CURSE_JSON: &str = "manifest.json";
pub const CONFIG_DIR: &str = "config/";
pub const OVERRIDES_FOLDER: &str = "overrides/";
pub const PROFILES_FILE: &str = "launcher_profiles.json";

pub static NTHREADS: RwLock<usize> = RwLock::new(8);