rename files
This commit is contained in:
parent
c1ac2eb1d8
commit
6a8f34098d
@ -8,7 +8,7 @@ edition = "2021"
|
|||||||
[features]
|
[features]
|
||||||
legacy = ["dep:lazy-regex"]
|
legacy = ["dep:lazy-regex"]
|
||||||
#roblox = []
|
#roblox = []
|
||||||
source = []
|
#source = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy-regex = { version = "3.1.0", optional = true }
|
lazy-regex = { version = "3.1.0", optional = true }
|
||||||
|
12
src/lib.rs
12
src/lib.rs
@ -1,5 +1,7 @@
|
|||||||
#[cfg(feature="legacy")]
|
#[cfg(feature="legacy")]
|
||||||
mod legacy;
|
mod roblox_legacy;
|
||||||
|
#[cfg(feature="legacy")]
|
||||||
|
mod source_legacy;
|
||||||
#[cfg(feature="roblox")]
|
#[cfg(feature="roblox")]
|
||||||
mod roblox;
|
mod roblox;
|
||||||
#[cfg(feature="source")]
|
#[cfg(feature="source")]
|
||||||
@ -8,8 +10,12 @@ mod source;
|
|||||||
pub mod texture;
|
pub mod texture;
|
||||||
|
|
||||||
#[cfg(feature="legacy")]
|
#[cfg(feature="legacy")]
|
||||||
pub fn legacy()->legacy::Loader{
|
pub fn roblox_legacy()->roblox_legacy::Loader{
|
||||||
legacy::Loader::new()
|
roblox_legacy::Loader::new()
|
||||||
|
}
|
||||||
|
#[cfg(feature="legacy")]
|
||||||
|
pub fn source_legacy()->source_legacy::Loader{
|
||||||
|
source_legacy::Loader::new()
|
||||||
}
|
}
|
||||||
#[cfg(feature="roblox")]
|
#[cfg(feature="roblox")]
|
||||||
pub fn roblox()->roblox::Loader{
|
pub fn roblox()->roblox::Loader{
|
||||||
|
Loading…
Reference in New Issue
Block a user