aboutsummaryrefslogblamecommitdiffstats
path: root/askama_shared/src/lib.rs
blob: 32137785238338b992e3a110ffd43f1826d22f26 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                            

                         





                              
                                
                                

                
 
             
 







                                                                     
#![cfg_attr(feature = "cargo-clippy", allow(unused_parens))]

#[macro_use]
extern crate error_chain;

#[cfg(feature = "serde-json")]
extern crate serde;
#[cfg(feature = "serde-json")]
extern crate serde_json;

pub use escaping::MarkupDisplay;
pub use errors::{Error, Result};
pub mod filters;
pub mod path;

mod escaping;

mod errors {
    error_chain! {
        foreign_links {
            Fmt(::std::fmt::Error);
            Json(::serde_json::Error) #[cfg(feature = "serde-json")];
        }
    }
}