From d112856ff6353592a50658b0ddd316f54dd97b87 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sun, 6 Nov 2022 14:05:01 -0600 Subject: Entity metadata (#37) * add example generated metadata.rs * metadata.rs codegen * add the files * add comment to top of metadata.rs * avoid clone * metadata * defaults * defaults * fix metadata readers and writers * fix bad bitmasks and ignore some clippy warnings in generated code * add set_index function to entity metadatas * applying metadata --- azalea/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea/src') diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index 4a042b79..20bab405 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -6,16 +6,16 @@ //! code, since everything from azalea_client is re-exported in azalea. //! //! # Installation -//! +//! //! First, install Rust nightly with `rustup install nightly` and `rustup //! default nightly`. -//! +//! //! Then, add one of the following lines to your Cargo.toml.\ //! Latest bleeding-edge version: //! `azalea = { git="https://github.com/mat-1/Cargo.toml" }` //! Latest "stable" release: //! `azalea = "0.3"` -//! +//! //! # Examples //! //! ```rust,no_run -- cgit v1.2.3