This repository has been archived on 2021-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
git-config/src/lib.rs

23 lines
598 B
Rust
Raw Normal View History

2021-02-23 08:30:48 -08:00
#![forbid(unsafe_code)]
2021-02-24 09:30:49 -08:00
// Cargo.toml cannot have self-referential dependencies, so you can't just
// specify the actual serde crate when you define a feature called serde. We
// instead call the serde crate as serde_crate and then rename the crate to
// serde, to get around this in an intuitive manner.
2021-02-24 09:11:18 -08:00
#[cfg(feature = "serde")]
extern crate serde_crate as serde;
2021-02-18 09:49:47 -08:00
// mod de;
2021-02-24 12:47:35 -08:00
// mod ser;
2021-02-18 21:12:59 -08:00
pub mod config;
2021-02-18 09:49:47 -08:00
mod error;
pub mod parser;
2021-02-18 21:12:59 -08:00
pub mod values;
2021-02-18 09:49:47 -08:00
// pub use de::{from_str, Deserializer};
pub use error::{Error, Result};
// pub use ser::{to_string, Serializer};
2021-02-23 16:47:24 -08:00
#[cfg(test)]
pub mod test_util;