parse scoreboard display slot at compile time

This commit is contained in:
Alexander Medvedev committed 2025-01-11 16:52:09 +01:00
1 parent 621bc31f48
commit 03cb80b216
12 files changed
+47 -37

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ mod entity_pose;
mod game_event;
mod packet;
mod particle;
mod scoreboard_slot;
mod screen;
mod sound;
mod sound_category;
@@ -23,6 +24,7 @@ pub fn main() {
write_generated_file(game_event::build(), "game_event.rs");
write_generated_file(sound_category::build(), "sound_category.rs");
write_generated_file(entity_pose::build(), "entity_pose.rs");
write_generated_file(scoreboard_slot::build(), "scoreboard_slot.rs");
}
pub fn array_to_tokenstream(array: Vec<String>) -> TokenStream {