Logo
Explore Help
Sign In
MrSphay/Modrinth-plus
1
0
Fork 0
You've already forked Modrinth-plus
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
53948c7a5ef6b573754d3c6a6969c0232160e336
Modrinth-plus/theseus/src/api/mod.rs

21 lines
400 B
Rust
Raw Normal View History

Refactor Library The launcher code was in a position ripe for sphagetti, so this rewrites it in a more robust way. In addition to cleaner code, this provides the following changes: - Removal of obsolete Mojang authentication - The rebasing of some internal state into a Sled database - Tweaks which make some internal mechanisms more robust (e.g. profiles which fail to load can be removed) - Additional tooling integration such as direnv - Distinct public API to avoid messing with too much internal code - Unified error handling in the form of `theseus::Error` and `theseus::Result`
2022-06-27 15:53:25 -07:00
//! API for interacting with Theseus
pub mod profile;
pub mod data {
pub use crate::{
launcher::Credentials,
state::{
DirectoryInfo, Hooks, JavaSettings, MemorySettings, ModLoader,
ProfileMetadata, Settings, WindowSize,
},
};
}
pub mod prelude {
pub use crate::{
data::*,
profile::{self, Profile},
State,
};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 17ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API