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
35
36
37
38
//! libmultilog
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
#![cfg_attr(feature="clippy", deny(clippy, clippy_pedantic))]
#![deny(missing_docs)]
#[macro_use]
extern crate blastfig;
#[macro_use]
extern crate log;
#[cfg(feature = "mysql")]
extern crate mysql;
extern crate regex;
#[cfg(feature = "rusqlite")]
extern crate rusqlite;
extern crate time;

pub mod multi;
pub mod file;
#[cfg(feature = "mysql")]
pub mod mysqll;
#[cfg(feature = "socket")]
pub mod socket;
#[cfg(feature = "rusqlite")]
pub mod sqlite;
pub mod stdout;
mod version;

pub use version::version;

#[cfg(test)]
mod test {
    use super::version;

    #[test]
    fn test_version() {
        assert!(!version::version(true, true).is_empty());
    }
}