Skip to content

Commit

Permalink
use tracing instead of bevy log, fix no default features
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Dec 5, 2024
1 parent 9e77874 commit 42eeb29
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "big_space"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
description = "A floating origin plugin for bevy"
license = "MIT OR Apache-2.0"
Expand All @@ -9,13 +9,15 @@ repository = "https://github.com/aevyrie/big_space"
documentation = "https://docs.rs/crate/big_space/latest"

[dependencies]
tracing = { version = "0.1", default-features = false }
bevy_app = { version = "0.15.0", default-features = false }
bevy_ecs = { version = "0.15.0", default-features = false }
bevy_hierarchy = { version = "0.15.0", default-features = false }
bevy_log = { version = "0.15.0", default-features = false }
bevy_math = { version = "0.15.0", default-features = false }
bevy_reflect = { version = "0.15.0", default-features = false }
bevy_transform = { version = "0.15.0", default-features = false }
bevy_transform = { version = "0.15.0", default-features = false, features = [
"bevy-support",
] }
bevy_utils = { version = "0.15.0", default-features = false }
# Optional
bevy_color = { version = "0.15.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/floating_origins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
use bevy_ecs::prelude::*;
use bevy_hierarchy::prelude::*;
use bevy_log::prelude::*;
use bevy_reflect::prelude::*;
use bevy_utils::HashMap;
use tracing::error;

/// Marks the entity to use as the floating origin.
///
Expand Down
2 changes: 1 addition & 1 deletion src/reference_frame/local_origin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ use bevy_ecs::{
},
};
use bevy_hierarchy::prelude::*;
use bevy_log::prelude::*;
use bevy_math::{prelude::*, DAffine3, DQuat};
use bevy_transform::prelude::*;
use tracing::error;

pub use inner::LocalFloatingOrigin;

Expand Down
2 changes: 1 addition & 1 deletion src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use std::marker::PhantomData;

use bevy_ecs::prelude::*;
use bevy_hierarchy::prelude::*;
use bevy_log::prelude::*;
use bevy_transform::prelude::*;
use bevy_utils::HashMap;
use tracing::error;

use crate::{
precision::GridPrecision, reference_frame::ReferenceFrame, BigSpace, FloatingOrigin, GridCell,
Expand Down

0 comments on commit 42eeb29

Please sign in to comment.