parse entity pose at compile time

This commit is contained in:
Alexander Medvedev committed 2025-01-11 16:20:31 +01:00
1 parent c95b27eafb
commit 621bc31f48
8 files changed
+32 -26

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ use proc_macro2::{Span, TokenStream};
use syn::Ident;
mod chunk_status;
mod entity_pose;
mod game_event;
mod packet;
mod particle;
@@ -21,6 +22,7 @@ pub fn main() {
write_generated_file(chunk_status::build(), "chunk_status.rs");
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");
}
pub fn array_to_tokenstream(array: Vec<String>) -> TokenStream {