artifact_app/
lib.rs

1/* Copyright (c) 2017 Garrett Berg, vitiral@gmail.com
2 *
3 * Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4 * http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5 * http://opensource.org/licenses/MIT>, at your option. This file may not be
6 * copied, modified, or distributed except according to those terms.
7 */
8
9//! artifact library
10// need for clippy lints
11#![allow(unknown_lints)]
12#![allow(zero_ptr)]
13#![recursion_limit = "1024"]
14
15// # general crates
16
17#[macro_use]
18extern crate error_chain;
19extern crate fern;
20extern crate itertools;
21#[macro_use]
22extern crate lazy_static;
23#[macro_use]
24extern crate log;
25
26// # core crates
27
28extern crate difference;
29extern crate regex;
30extern crate strfmt;
31extern crate time;
32extern crate unicode_segmentation;
33extern crate unicode_width;
34
35// # cmdline crates
36
37extern crate ansi_term;
38extern crate clap;
39#[macro_use]
40extern crate self_update;
41extern crate tabwriter;
42extern crate tar;
43
44// # server crates
45
46extern crate ctrlc;
47extern crate jsonrpc_core;
48extern crate nickel;
49extern crate tempdir;
50
51// # serialization
52
53extern crate serde;
54#[macro_use]
55extern crate serde_derive;
56extern crate serde_json;
57extern crate toml;
58extern crate uuid;
59
60// crates for test
61
62#[cfg(test)]
63extern crate fs_extra;
64
65// "core" modules
66pub mod dev_prefix;
67pub mod types;
68pub mod user;
69pub mod logging;
70pub mod export;
71pub mod utils;
72pub mod security;
73
74// command line modules
75pub mod ui;
76pub mod cmd;
77
78#[cfg(test)]
79pub mod test_data;
80pub mod api;
81
82pub use types::*;