#![warn(unreachable_pub, elided_lifetimes_in_paths)]
#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;
#[cfg(test)]
#[macro_use]
mod macros;
#[cfg(test)]
mod utils;
pub extern crate bytes;
mod detect;
pub mod metadata;
pub mod v1;
pub mod v2;
mod version;
pub type Magic = [u8; 5];
pub const MAGIC: Magic = *b"\0webc";
pub use crate::{
detect::{detect, DetectError},
version::Version,
};