tomlproc 0.1.2

A self-contained TOML 1.1.0 parser and serializer with no external dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
//! The maps and sets the crate is built on.
//!
//! With `std` these hash; without it they are the ordered trees from `alloc`.
//! Both are only ever used with owned string or path keys, which implement
//! everything either one asks for.

#[cfg(not(feature = "std"))]
pub(crate) use alloc::collections::{BTreeMap as Map, BTreeSet as Set};
#[cfg(feature = "std")]
pub(crate) use std::collections::{HashMap as Map, HashSet as Set};