Beatsaber Rust Utilities: A Beatsaber V3 parsing library.
beatsaber beatmap
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Hide macros from docs.

AlephCubed 77f5b9d0 bfa05f9b

+9 -1
+3 -1
Cargo.toml
··· 14 14 bevy_reflect = ["dep:bevy_reflect"] 15 15 16 16 [dependencies] 17 - bevy_color = { version = "0.16.2", optional = true, default-features = false, features = ["std"] } 17 + bevy_color = { version = "0.16.2", optional = true, default-features = false, features = [ 18 + "std", 19 + ] } 18 20 bevy_reflect = { version = "0.16.1", optional = true, default-features = false } 19 21 serde = { version = "1.0.219", features = ["derive"] } 20 22 serde_json = "1.0.140"
+3
src/difficulty/lightshow/boxes.rs
··· 17 17 } 18 18 19 19 #[macro_export] 20 + #[doc(hidden)] 20 21 macro_rules! impl_event_box { 21 22 ($ident:ident, $group:ident, $data:ident) => { 22 23 impl crate::difficulty::lightshow::boxes::EventBox for $ident { ··· 54 55 } 55 56 56 57 #[macro_export] 58 + #[doc(hidden)] 57 59 macro_rules! impl_event_group { 58 60 ($ident:ident::$value_offset:ident, $data:ident) => { 59 61 impl crate::difficulty::lightshow::boxes::EventGroup for $ident { ··· 92 94 } 93 95 94 96 #[macro_export] 97 + #[doc(hidden)] 95 98 macro_rules! impl_event_data { 96 99 ($ident:ident) => { 97 100 impl crate::difficulty::lightshow::boxes::EventData for $ident {
+2
src/timing_traits.rs
··· 13 13 } 14 14 15 15 #[macro_export] 16 + #[doc(hidden)] 16 17 macro_rules! impl_timed { 17 18 ($ident:ident::$beat:ident) => { 18 19 impl crate::timing_traits::Timed for $ident { ··· 24 25 } 25 26 26 27 #[macro_export] 28 + #[doc(hidden)] 27 29 macro_rules! impl_duration { 28 30 ($ident:ident::$beat:ident, end: $end:ident) => { 29 31 impl_timed!($ident::$beat);
+1
src/utils.rs
··· 1 1 /// Defines a repr enum that supports any value. If a value does not match any case, it will be parsed as `Unknown`. 2 2 #[macro_export] 3 + #[doc(hidden)] 3 4 macro_rules! loose_enum { 4 5 // Special case for strings: 5 6 (