imag/lib/entry/libimagentryref/src/lib.rs

67 lines
1.8 KiB
Rust
Raw Normal View History

//
// imag - the personal information management suite for the commandline
// Copyright (C) 2015-2018 Matthias Beyer <mail@beyermatthias.de> and contributors
//
// 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"]
#![deny(
dead_code,
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-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;
extern crate libimagerror;
2018-01-08 22:34:13 +00:00
#[macro_use] extern crate libimagentryutil;
#[macro_use] extern crate error_chain;
2016-06-09 17:34:18 +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;