toml_query/
lib.rs

1//
2// This Source Code Form is subject to the terms of the Mozilla Public
3// License, v. 2.0. If a copy of the MPL was not distributed with this
4// file, You can obtain one at http://mozilla.org/MPL/2.0/.
5//
6
7#![recursion_limit = "1024"]
8#![warn(rust_2018_idioms)]
9// We need this for error_chain, unfortunately.
10
11//! # toml-query
12//!
13//! A crate to help executing queries on toml data structures inside Rust code.
14
15// external crates
16
17#[macro_use]
18extern crate is_match;
19#[macro_use]
20extern crate lazy_static;
21
22#[cfg(feature = "log")]
23#[macro_use]
24extern crate log;
25
26#[cfg(all(test, feature = "typed"))]
27#[macro_use]
28extern crate serde_derive;
29
30#[cfg(test)]
31#[macro_use]
32extern crate quickcheck;
33
34// public modules
35
36#[cfg(not(feature = "log"))]
37#[macro_use]
38pub mod log;
39
40#[doc(hidden)]
41pub use toml_query_derive::*;
42
43pub mod delete;
44pub mod error;
45pub mod insert;
46pub mod read;
47pub mod set;
48mod util;
49pub mod value;
50
51// private modules
52
53mod resolver;
54mod tokenizer;