#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![deny(unused_must_use, unsafe_code, unused_crate_dependencies, missing_docs)]
#![deny(
clippy::arithmetic_side_effects,
clippy::cast_sign_loss,
clippy::cast_possible_truncation,
clippy::cast_possible_wrap,
clippy::string_slice
)]
mod helpers;
extern crate proc_macro;
mod canonical {
mod attribute;
pub mod deserialize;
pub mod serialize;
}
synstructure::decl_derive!(
[Serialize, attributes(canonical)] =>
canonical::serialize::derive
);
synstructure::decl_derive!(
[Deserialize, attributes(canonical)] =>
canonical::deserialize::derive
);
mod compression {
mod attribute;
pub mod compress;
pub mod decompress;
}
synstructure::decl_derive!(
[Compress, attributes(compress)] =>
compression::compress::derive
);
synstructure::decl_derive!(
[Decompress, attributes(compress)] =>
compression::decompress::derive
);