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