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
39
40
#![recursion_limit = "1024"]
// We need this for error_chain, unfortunately.

/// # toml-query
///
/// A crate to help executing queries on toml data structures inside Rust code.
///

// external crates

#[macro_use] extern crate error_chain;
#[macro_use] extern crate is_match;
#[macro_use] extern crate lazy_static;
extern crate regex;
extern crate toml;

#[cfg(feature = "log")]
#[macro_use] extern crate log;

#[cfg(test)]
#[macro_use] extern crate quickcheck;

// public modules

#[cfg(not(feature = "log"))]
#[macro_use] pub mod log;

pub mod error;
pub mod read;
pub mod set;
pub mod insert;
pub mod delete;
pub mod value;
mod util;

// private modules

mod tokenizer;
mod resolver;