diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2024-07-19 21:35:56 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-19 16:35:56 +0200 |
| commit | 55a7d8b7ad37227f5c97131c4852a94efe748194 (patch) | |
| tree | 7f5ae681f5dfb8b75aaa38e140f7c85afc246e29 | |
| parent | 0ff55411a457c70d218f1690692431c874d9a9d6 (diff) | |
| download | rapier-55a7d8b7ad37227f5c97131c4852a94efe748194.tar.gz rapier-55a7d8b7ad37227f5c97131c4852a94efe748194.tar.bz2 rapier-55a7d8b7ad37227f5c97131c4852a94efe748194.zip | |
testbed: Remove use of missing log feature (#684)
This code has been here but not used for a long time. There's no
log feature (or dependency) within the testbed crates.
| -rw-r--r-- | src_testbed/lib.rs | 4 | ||||
| -rw-r--r-- | src_testbed/testbed.rs | 10 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src_testbed/lib.rs b/src_testbed/lib.rs index 24c7c8d..e64d025 100644 --- a/src_testbed/lib.rs +++ b/src_testbed/lib.rs @@ -3,10 +3,6 @@ extern crate nalgebra as na; -#[cfg(feature = "log")] -#[macro_use] -extern crate log; - pub use crate::graphics::{BevyMaterial, GraphicsManager}; pub use crate::harness::plugin::HarnessPlugin; pub use crate::physics::PhysicsState; diff --git a/src_testbed/testbed.rs b/src_testbed/testbed.rs index 5c0a804..c2e117c 100644 --- a/src_testbed/testbed.rs +++ b/src_testbed/testbed.rs @@ -56,7 +56,6 @@ pub enum RunMode { Step, } -#[cfg(not(feature = "log"))] fn usage(exe_name: &str) { println!("Usage: {} [OPTION] ", exe_name); println!(); @@ -65,15 +64,6 @@ fn usage(exe_name: &str) { println!(" --pause - do not start the simulation right away."); } -#[cfg(feature = "log")] -fn usage(exe_name: &str) { - info!("Usage: {} [OPTION] ", exe_name); - info!(""); - info!("Options:"); - info!(" --help - prints this help message and exits."); - info!(" --pause - do not start the simulation right away."); -} - bitflags::bitflags! { #[derive(Copy, Clone, PartialEq, Eq, Debug, Default)] pub struct TestbedStateFlags: u32 { |
