ivy_core/
lib.rs

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