Files
iChris4 51567c7987 Added Quest Launcher mod browser
- Introduced new drawable resources for user and warning icons.
- Created layout files for mod browser items, loading indicators, and the main mod browser page.
- Implemented IDs for resource referencing in the layout.
- Added unit tests for GameBanana API interactions, ensuring proper parsing of mod data and error handling.
- Developed Rust module for handling mod archives, supporting extraction of 7z and RAR formats with error checking.
2026-09-24 01:12:02 +02:00

39 lines
1.3 KiB
TOML

[package]
name = "nod-jni"
version = "0.1.0"
edition = "2024"
# sevenz-rust2 0.23 needs 1.93.
rust-version = "1.93"
license = "GPL-3.0-only"
publish = false
description = "JNI bridge from the Quest launcher to nod, the disc image library behind the PC installer's nodtool, and to the 7z and RAR readers its Patches page installs mods with."
[lib]
name = "nod_jni"
crate-type = ["cdylib"]
# Built on its own, never as part of an outer workspace.
[workspace]
[dependencies]
jni = "0.21"
# The same nod release as Launcher/WiiCompiled.Setup.Common/NodToolProvider.cs, so the
# Quest and PC installers extract a disc identically. alpha.10 is only published on GitHub.
nod = { git = "https://github.com/encounter/nod", tag = "v2.0.0-alpha.10", default-features = false, features = [
"compress-bzip2-static",
"compress-lzma-static",
"compress-zlib-static",
"compress-zstd-static",
"threading",
] }
zerocopy = "0.8"
# Mod archives GameBanana serves besides .zip (src/archive.rs), both pure Rust. The 7z codecs are
# the ones WheelWizard's SharpCompress reads; AES is left out, as there is no password to give.
sevenz-rust2 = { version = "0.23", default-features = false, features = ["bzip2", "deflate", "ppmd"] }
rars = "0.9.4"
[profile.release]
codegen-units = 1
lto = "thin"
strip = true