1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![cfg_attr(feature = "nightly", feature(specialization))]
//! Core structs and traits for paperclip.
#[cfg(feature = "actix2")]
extern crate actix_web2 as actix_web;
#[cfg(feature = "actix3")]
extern crate actix_web3 as actix_web;
#[cfg_attr(feature = "v2", macro_use)]
extern crate serde;
mod error;
pub mod im;
pub mod util;
#[cfg(feature = "v2")]
pub mod v2;
#[cfg(feature = "v2")]
pub mod v3;
pub use self::error::ValidationError;