mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 02:44:17 +00:00
cc78dc7e4a
* Grab releases from Github and install * Refactor * Fix crash * Work on fixing install() crash * Fix the crash by increasing stack size * Block main() execution on the auto-updater * Improve error handling * Delete hash.txt * Fix get_update_policy() * Use current time as default last_update_version; Compare publish date to last_update_version to determine if update should be applied. * Use skyline_web dialogs for user_wants_to_install. Use default selections on emulator instead. * Fix some logic * Convert CURRENT_VERSION to a Mutex; implement functions to update the config file * Adjust logging * Remove unneeded file * Allow unwrap after is_some() check * Fix format * Auto-updater (squashed) * Move update policy from config file to menu * Skip version check on emulator * Rustfmt, clippy --------- Co-authored-by: jugeeya <jugeeya@live.com>
62 lines
1.9 KiB
TOML
62 lines
1.9 KiB
TOML
[package]
|
|
name = "training_modpack"
|
|
version = "5.1.0"
|
|
authors = ["jugeeya <jugeeya@live.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
skyline = { git = "https://github.com/ultimate-research/skyline-rs.git" }
|
|
skyline_smash = { git = "https://github.com/ultimate-research/skyline-smash.git", branch = "no-cache" }
|
|
skyline-web = { git = "https://github.com/skyline-rs/skyline-web.git" }
|
|
bitflags = "1.2.1"
|
|
parking_lot = { version = "0.12.0", features = ["nightly"] }
|
|
include-flate = "0.1.4"
|
|
lazy_static = "1.4.0"
|
|
modular-bitfield = "0.11.2"
|
|
owo-colors = "2.1.0"
|
|
once_cell = "1.12.0"
|
|
paste = "1.0"
|
|
num = "0.4.0"
|
|
num-derive = "0.3"
|
|
num-traits = "0.2"
|
|
wsl = "0.1.0"
|
|
strum = "0.21.0"
|
|
strum_macros = "0.21.0"
|
|
minreq = { version = "2", features = ["https-native", "json-using-serde"] }
|
|
sarc = { version = "1.2.0", features = [], default_features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.5.9"
|
|
training_mod_consts = { path = "training_mod_consts" }
|
|
training_mod_tui = { path = "training_mod_tui" }
|
|
native-tls = { version = "0.2.11", features = ["vendored"] }
|
|
log = "0.4.17"
|
|
byte-unit = "4.0.18"
|
|
zip = { version = "0.6", default-features = false, features = ["deflate"]}
|
|
anyhow = "1.0.72"
|
|
|
|
|
|
[patch.crates-io]
|
|
native-tls = { git = "https://github.com/skyline-rs/rust-native-tls", branch = "switch-timeout-panic" }
|
|
nnsdk = { git = "https://github.com/ultimate-research/nnsdk-rs" }
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
|
|
[package.metadata.skyline]
|
|
titleid = "01006A800016E000"
|
|
plugin-dependencies = [
|
|
{ name = "libnro_hook.nro", url = "https://github.com/ultimate-research/nro-hook-plugin/releases/download/v0.4.0/libnro_hook.nro" },
|
|
{ name = "libparam_hook.nro", url = "https://github.com/ultimate-research/params-hook-plugin/releases/download/v0.1.1/libparam_hook.nro" }
|
|
]
|
|
|
|
[features]
|
|
outside_training_mode = []
|
|
layout_arc_from_file = []
|