1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! Crate `ivy_core` is the core utility library that enpowers `ivy` command line tool.
//!
//! To use this crate, add `ivy_core` as a dependency to your project's `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! ivy_core = "0.1"
//! ```
//!
//! Note that by now as a interest-driven project, this library is mainly used for `ivy`
//! command-line tool and may bundles up some utilities that you may not even
//! want to bring into your project at all. To restrict the impact of impurity,
//! user of this crate needs to manually cherry-pick the desired features:
//!
//! ```toml
//! [dependencies.ivy_core]
//! features = ["kvs_unstable", "file_concat"]
//! ```

#![warn(missing_docs)]

mod error;
pub use error::{Error, ErrorKind, Result};

#[cfg(test)]
mod tests;

// #[cfg(feature = "kvs_unstable")]
mod kvs;
pub use kvs::KvStore;

// #[cfg(feature = "file_concat")]
mod fcat;
pub use fcat::Concat;