libimagutil/
lib.rs

1//
2// imag - the personal information management suite for the commandline
3// Copyright (C) 2015-2020 Matthias Beyer <mail@beyermatthias.de> and contributors
4//
5// This library is free software; you can redistribute it and/or
6// modify it under the terms of the GNU Lesser General Public
7// License as published by the Free Software Foundation; version
8// 2.1 of the License.
9//
10// This library is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13// Lesser General Public License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public
16// License along with this library; if not, write to the Free Software
17// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18//
19
20#![forbid(unsafe_code)]
21
22#![deny(
23    dead_code,
24    non_camel_case_types,
25    non_snake_case,
26    path_statements,
27    trivial_numeric_casts,
28    unstable_features,
29    unused_allocation,
30    unused_import_braces,
31    unused_imports,
32    unused_must_use,
33    unused_mut,
34    unused_qualifications,
35    while_true,
36)]
37
38#[macro_use] extern crate lazy_static;
39#[macro_use] extern crate log;
40extern crate regex;
41extern crate url;
42extern crate boolinator;
43extern crate tempfile;
44extern crate chrono;
45
46#[macro_use] mod log_result;
47#[macro_use] mod log_option;
48pub mod cli_validators;
49pub mod date;
50pub mod edit;
51pub mod info_result;
52pub mod info_option;
53pub mod key_value_split;
54pub mod variants;
55pub mod warn_exit;
56pub mod warn_result;
57
58#[cfg(feature = "testing")]
59pub mod testing;
60