2016-10-01 15:35:06 +00:00
|
|
|
//
|
|
|
|
// imag - the personal information management suite for the commandline
|
2018-02-07 01:48:53 +00:00
|
|
|
// Copyright (C) 2015-2018 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
|
|
|
|
//
|
|
|
|
|
2017-08-31 19:45:09 +00:00
|
|
|
#![recursion_limit="256"]
|
|
|
|
|
2016-07-26 20:34:22 +00:00
|
|
|
#![deny(
|
2017-08-26 16:06:20 +00:00
|
|
|
dead_code,
|
2016-07-26 20:34:22 +00:00
|
|
|
non_camel_case_types,
|
|
|
|
non_snake_case,
|
|
|
|
path_statements,
|
|
|
|
trivial_numeric_casts,
|
|
|
|
unstable_features,
|
|
|
|
unused_allocation,
|
|
|
|
unused_import_braces,
|
|
|
|
unused_imports,
|
2017-08-26 16:06:20 +00:00
|
|
|
unused_must_use,
|
2016-07-26 20:34:22 +00:00
|
|
|
unused_mut,
|
|
|
|
unused_qualifications,
|
|
|
|
while_true,
|
|
|
|
)]
|
|
|
|
|
2016-06-09 17:34:18 +00:00
|
|
|
#[macro_use] extern crate log;
|
|
|
|
extern crate itertools;
|
|
|
|
extern crate toml;
|
2017-08-26 15:53:08 +00:00
|
|
|
extern crate toml_query;
|
2016-06-09 17:34:18 +00:00
|
|
|
|
|
|
|
#[macro_use] extern crate libimagstore;
|
2017-09-03 13:28:13 +00:00
|
|
|
extern crate libimagerror;
|
2018-01-08 22:34:13 +00:00
|
|
|
#[macro_use] extern crate libimagentryutil;
|
2017-08-31 19:37:52 +00:00
|
|
|
#[macro_use] extern crate error_chain;
|
2016-06-09 17:34:18 +00:00
|
|
|
|
2016-08-30 09:40:32 +00:00
|
|
|
module_entry_path_mod!("ref");
|
2016-06-09 17:34:18 +00:00
|
|
|
|
2016-06-09 17:34:25 +00:00
|
|
|
pub mod error;
|
2016-06-09 17:26:51 +00:00
|
|
|
pub mod reference;
|
2017-08-27 18:38:26 +00:00
|
|
|
pub mod refstore;
|
2018-02-13 20:11:45 +00:00
|
|
|
|
2018-02-14 13:09:59 +00:00
|
|
|
#[cfg(any(
|
|
|
|
feature = "generators-sha1",
|
|
|
|
feature = "generators-sha224",
|
|
|
|
feature = "generators-sha256",
|
|
|
|
feature = "generators-sha384",
|
|
|
|
feature = "generators-sha512",
|
|
|
|
feature = "generators-sha3",
|
|
|
|
))]
|
|
|
|
extern crate crypto;
|
|
|
|
|
|
|
|
#[cfg(feature = "generators")]
|
|
|
|
pub mod generators;
|
|
|
|
|