lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
4 changed files with 10 additions and 4 deletions
Showing only changes of commit 6a8f34098d - Show all commits

View File

@ -8,7 +8,7 @@ edition = "2021"
[features]
legacy = ["dep:lazy-regex"]
#roblox = []
source = []
#source = []
[dependencies]
lazy-regex = { version = "3.1.0", optional = true }

View File

@ -1,5 +1,7 @@
#[cfg(feature="legacy")]
mod legacy;
mod roblox_legacy;
#[cfg(feature="legacy")]
mod source_legacy;
#[cfg(feature="roblox")]
mod roblox;
#[cfg(feature="source")]
@ -8,8 +10,12 @@ mod source;
pub mod texture;
#[cfg(feature="legacy")]
pub fn legacy()->legacy::Loader{
legacy::Loader::new()
pub fn roblox_legacy()->roblox_legacy::Loader{
roblox_legacy::Loader::new()
}
#[cfg(feature="legacy")]
pub fn source_legacy()->source_legacy::Loader{
source_legacy::Loader::new()
}
#[cfg(feature="roblox")]
pub fn roblox()->roblox::Loader{