Skip to content

Commit

Permalink
Move macros to newly published tiny_bail
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Aug 1, 2024
1 parent c6ad8bb commit e87fe9a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 102 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ron = "0.8"
serde = "1"
strum = { version = "0.26", features = ["derive"] }
tap = "1"
tiny_bail = "0.1"
tracing = { version = "0.1", features = [
"max_level_debug",
"release_max_level_warn",
Expand Down
7 changes: 2 additions & 5 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

pub mod config;
pub mod late_despawn;
pub mod macros;
pub mod patch;
pub mod selection;
pub mod texture_atlas_grid;
pub mod time;

pub mod prelude {
pub use tiny_bail::prelude::*;

pub use super::config::Config;
pub use super::config::ConfigHandle;
pub use super::config::ConfigRef;
Expand All @@ -27,10 +28,6 @@ pub mod prelude {
pub use super::patch::WorldSpawnWithExt as _;
pub use super::selection::Selection;
pub use super::texture_atlas_grid::TextureAtlasGrid;
pub use crate::c;
pub use crate::cq;
pub use crate::r;
pub use crate::rq;
}

use bevy::prelude::*;
Expand Down
97 changes: 0 additions & 97 deletions src/util/macros.rs

This file was deleted.

0 comments on commit e87fe9a

Please sign in to comment.