diff --git a/lib/roblox_bot_file/Cargo.toml b/lib/roblox_bot_file/Cargo.toml index 90803cf..6109b86 100644 --- a/lib/roblox_bot_file/Cargo.toml +++ b/lib/roblox_bot_file/Cargo.toml @@ -6,3 +6,6 @@ edition = "2021" [dependencies] binrw = "0.14.1" bitflags = "2.6.0" + +[features] +test=[] diff --git a/lib/roblox_bot_file/src/tests.rs b/lib/roblox_bot_file/src/tests.rs index d1d3f84..e4d983d 100644 --- a/lib/roblox_bot_file/src/tests.rs +++ b/lib/roblox_bot_file/src/tests.rs @@ -1,3 +1,5 @@ +#[cfg(feature="test")] +mod file{ use crate::v0::TimedBlockId; #[test] @@ -39,3 +41,4 @@ fn _2()->Result<(),crate::v0::Error>{ Ok(()) } +}