//! Proc-macros for `simple_endian`.
//!//! This crate is intentionally small and only provides codegen helpers.
useproc_macro::TokenStream;modendianize;/// Generate a “wire-format” struct and endian wrapper aliases.
////// See the `simple_endian` crate docs for examples.
#[proc_macro_derive(Endianize,attributes(endian, text, wire_repr, wire_derive))]pubfnderive_endianize(input: TokenStream)-> TokenStream{endianize::derive_endianize(input)}