1#![cfg_attr(not(any(test, doc)), no_std)]
7#![cfg_attr(
8 not(test),
9 deny(
10 clippy::indexing_slicing,
11 clippy::unwrap_used,
12 clippy::expect_used,
13 clippy::panic,
14 )
15)]
16#![warn(missing_docs)]
17
18#[cfg(feature = "alloc")]
24extern crate alloc;
25
26pub mod provider;
27pub mod scaffold;
28#[path = "third_party.rs"]
29pub mod unstable_third_party;
30
31#[cfg(feature = "ixdtf")]
32mod ixdtf;
33#[cfg(feature = "ixdtf")]
34pub use ixdtf::ParseError;
35
36pub mod zone;
37#[doc(no_inline)]
38pub use zone::{TimeZone, TimeZoneInfo};
39
40mod types;
41#[cfg(feature = "unstable")]
42pub use types::ZonedTime;
43pub use types::{DateTime, Hour, Minute, Nanosecond, Second, Time, ZonedDateTime};
44
45#[cfg(feature = "unstable_chrono_0_4")]
46mod chrono;
47#[cfg(feature = "unstable_jiff_0_2")]
48mod jiff;
49#[cfg(feature = "unstable_time_0_3")]
50mod time_crate;