Skip to main content

libconfig/
lib.rs

1//! Serde serialization and deserialization for libconfig format
2//!
3//! This crate provides support for serializing and deserializing Rust data structures
4//! to and from the libconfig configuration file format.
5//!
6#![doc = include_str!("../README.md")]
7//!
8//! # Further Reading
9//!
10//! - [`config_api`] — full reference for the [`Config`] document wrapper
11//! - [`value_api`] — full reference for the dynamic [`Value`] type
12
13pub mod de;
14pub mod error;
15pub mod ser;
16pub mod value;
17
18pub use de::{Deserializer, from_str};
19pub use error::{Error, Result};
20pub use ser::{Serializer, to_string};
21pub use value::{Config, Map, Value, from_value};
22
23#[doc = include_str!("../CONFIG_API.md")]
24pub mod config_api {}
25
26#[doc = include_str!("../VALUE_API.md")]
27pub mod value_api {}