#![deny(unused_must_use, missing_docs)]
#![deny(
clippy::arithmetic_side_effects,
clippy::cast_sign_loss,
clippy::cast_possible_truncation,
clippy::cast_possible_wrap,
clippy::string_slice
)]
extern crate proc_macro;
mod attribute;
mod deserialize;
mod serialize;
use self::{
deserialize::deserialize_derive,
serialize::serialize_derive,
};
synstructure::decl_derive!(
[Deserialize, attributes(canonical)] =>
deserialize_derive
);
synstructure::decl_derive!(
[Serialize, attributes(canonical)] =>
serialize_derive
);