on 710a1df help sign in
bat/src/lib.rs
42 lines 822 B history raw
1// `error_chain!` can recurse deeply
2#![recursion_limit = "1024"]
4#[macro_use]
5extern crate error_chain;
7#[macro_use]
8extern crate lazy_static;
10extern crate ansi_term;
11extern crate atty;
12extern crate console;
13extern crate content_inspector;
14extern crate dirs as dirs_rs;
15extern crate encoding;
16extern crate git2;
17extern crate shell_words;
18extern crate syntect;
19extern crate wild;
21pub mod assets;
22pub mod config;
23pub mod diff;
24pub mod dirs;
25pub mod inputfile;
26pub mod line_range;
27pub mod preprocessor;
28pub mod style;
29pub mod syntax_mapping;
30pub mod terminal;
31pub mod util;
33mod errors {
34 error_chain! {
35 foreign_links {
36 Clap(::clap::Error);
37 Io(::std::io::Error);
38 SyntectError(::syntect::LoadingError);
39 ParseIntError(::std::num::ParseIntError);
40 }
41 }