1//! A [TOML]-compatible datetime type
2//!
3//! [TOML]: https://github.com/toml-lang/toml
45#![cfg_attr(docsrs, feature(doc_auto_cfg))]
6#![warn(missing_docs)]
7// Makes rustc abort compilation if there are any unsafe blocks in the crate.
8// Presence of this annotation is picked up by tools such as cargo-geiger
9// and lets them ensure that there is indeed no unsafe code as opposed to
10// something they couldn't detect (e.g. unsafe added via macro expansion, etc).
11#![forbid(unsafe_code)]
12#![warn(clippy::print_stderr)]
13#![warn(clippy::print_stdout)]
1415mod datetime;
1617pub use crate::datetime::Date;
18pub use crate::datetime::Datetime;
19pub use crate::datetime::DatetimeParseError;
20pub use crate::datetime::Offset;
21pub use crate::datetime::Time;
2223#[doc(hidden)]
24#[cfg(feature = "serde")]
25pub mod __unstable {
26pub use crate::datetime::DatetimeFromString;
27pub use crate::datetime::FIELD;
28pub use crate::datetime::NAME;
29}