You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
900 B
38 lines
900 B
#[cfg(feature = "toml")]
|
|
/// Helpers for serializing to/deserializing from toml
|
|
///
|
|
/// In order to use this module, set the "toml" feature in your Cargo.toml:
|
|
///
|
|
/// ```toml,ignore
|
|
/// [dependencies.elefren]
|
|
/// version = "0.22"
|
|
/// features = ["toml"]
|
|
/// ```
|
|
pub mod toml;
|
|
|
|
#[cfg(feature = "json")]
|
|
/// Helpers for serializing to/deserializing from json
|
|
///
|
|
/// In order to use this module, set the "json" feature in your Cargo.toml:
|
|
///
|
|
/// ```toml,ignore
|
|
/// [dependencies.elefen]
|
|
/// version = "0.22"
|
|
/// features = ["json"]
|
|
/// ```
|
|
pub mod json;
|
|
|
|
#[cfg(feature = "env")]
|
|
/// Helpers for deserializing a `Data` struct from the environment
|
|
///
|
|
/// In order to use this module, set the "env" feature in your Cargo.toml:
|
|
///
|
|
/// ```toml,ignore
|
|
/// [dependencies.elefren]
|
|
/// version = "0.22"
|
|
/// features = ["env"]
|
|
/// ```
|
|
pub mod env;
|
|
|
|
/// Helpers for working with the command line
|
|
pub mod cli;
|
|
|