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
41
42
43
44
45
46
47
48
49
#![recursion_limit = "1024"]
#![warn(rust_2018_idioms)]
// 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 is_match;
#[macro_use]
extern crate lazy_static;

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

#[cfg(all(test, feature = "typed"))]
#[macro_use]
extern crate serde_derive;

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

// public modules

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

#[doc(hidden)]
pub use toml_query_derive::*;

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

// private modules

mod resolver;
mod tokenizer;