forked from didirus/AstralRinth
48 lines
1.3 KiB
Rust
48 lines
1.3 KiB
Rust
//! API for interacting with Theseus
|
|
pub mod cache;
|
|
pub mod friends;
|
|
pub mod handler;
|
|
pub mod jre;
|
|
pub mod logs;
|
|
pub mod metadata;
|
|
pub mod minecraft_auth;
|
|
pub mod minecraft_skins;
|
|
pub mod mr_auth;
|
|
pub mod pack;
|
|
pub mod process;
|
|
pub mod profile;
|
|
pub mod server_address;
|
|
pub mod settings;
|
|
pub mod tags;
|
|
pub mod worlds;
|
|
pub mod astralrinth;
|
|
|
|
pub mod data {
|
|
pub use crate::state::{
|
|
CacheBehaviour, CacheValueType, ContentItem, ContentItemOwner,
|
|
ContentItemProject, ContentItemVersion, Credentials, Dependency,
|
|
DirectoryInfo, Hooks, JavaVersion, LinkedData, LinkedModpackInfo,
|
|
MemorySettings, ModLoader, ModrinthCredentials, Organization,
|
|
OwnerType, ProcessMetadata, ProfileFile, Project, ProjectType,
|
|
ProjectV3, SearchResult, SearchResults, SearchResultsV3, Settings,
|
|
TeamMember, Theme, User, UserFriend, Version, WindowSize,
|
|
};
|
|
pub use ariadne::users::UserStatus;
|
|
}
|
|
|
|
pub mod prelude {
|
|
pub use crate::{
|
|
State,
|
|
data::*,
|
|
event::CommandPayload,
|
|
jre, metadata, minecraft_auth, mr_auth, pack, process,
|
|
profile::{self, Profile, create},
|
|
settings,
|
|
state::ReleaseChannel,
|
|
util::{
|
|
io::{IOError, canonicalize},
|
|
network::{is_network_metered, tcp_listen_any_loopback},
|
|
},
|
|
};
|
|
}
|