You've already forked AstralRinth
forked from didirus/AstralRinth
* Performance improvements * run fmt * optimize creation modal * remove print, fix mod loader editing * Fix library update * update extract loading bar * Update theseus_gui/src-tauri/src/api/metadata.rs Co-authored-by: triphora <emma@modrinth.com> * fix cli --------- Co-authored-by: triphora <emma@modrinth.com>
33 lines
753 B
Rust
33 lines
753 B
Rust
//! API for interacting with Theseus
|
|
pub mod auth;
|
|
pub mod jre;
|
|
pub mod logs;
|
|
pub mod metadata;
|
|
pub mod pack;
|
|
pub mod process;
|
|
pub mod profile;
|
|
pub mod profile_create;
|
|
pub mod settings;
|
|
pub mod tags;
|
|
|
|
pub mod data {
|
|
pub use crate::state::{
|
|
DirectoryInfo, Hooks, JavaSettings, MemorySettings, ModLoader,
|
|
ModrinthProject, ModrinthTeamMember, ModrinthUser, ModrinthVersion,
|
|
ProfileMetadata, ProjectMetadata, Settings, Theme, WindowSize,
|
|
};
|
|
}
|
|
|
|
pub mod prelude {
|
|
pub use crate::{
|
|
auth::{self, Credentials},
|
|
data::*,
|
|
jre, metadata, pack, process,
|
|
profile::{self, Profile},
|
|
profile_create, settings,
|
|
state::JavaGlobals,
|
|
util::jre::JavaVersion,
|
|
State,
|
|
};
|
|
}
|