miniconf/
lib.rs

1#![cfg_attr(not(any(test, feature = "std")), no_std)]
2#![cfg_attr(all(feature = "derive", feature = "json-core"), doc = include_str!("../README.md"))]
3#![cfg_attr(not(all(feature = "derive", feature = "json-core")), doc = "Miniconf")]
4#![deny(rust_2018_compatibility)]
5#![deny(rust_2018_idioms)]
6#![warn(missing_docs)]
7#![forbid(unsafe_code)]
8
9mod error;
10pub use error::*;
11mod key;
12pub use key::*;
13mod node;
14pub use node::*;
15mod packed;
16pub use packed::*;
17mod jsonpath;
18pub use jsonpath::*;
19mod tree;
20pub use tree::*;
21mod iter;
22pub use iter::*;
23mod impls;
24mod leaf;
25pub use leaf::*;
26mod walk;
27pub use walk::*;
28
29#[cfg(feature = "derive")]
30pub use miniconf_derive::*;
31
32#[cfg(feature = "json-core")]
33pub mod json;
34
35#[cfg(feature = "postcard")]
36pub mod postcard;
37
38// re-export for proc-macro
39#[doc(hidden)]
40pub use serde::{Deserialize, Deserializer, Serialize, Serializer};