devela/phys/time/
mod.rs

1// devela::phys::time
2//
3//! Time and calendar types and operations.
4//!
5#![doc = crate::doc_!(extends: time)]
6//
7// safety
8#![cfg_attr(feature = "safe_time", forbid(unsafe_code))]
9
10mod delta; // TimeDelta
11mod error;
12mod reexports;
13
14#[cfg(feature = "time")]
15crate::items! {
16    mod calendar;
17    mod fmt;
18    mod no;
19    mod split;
20    mod unix;
21}
22
23crate::items! { // structural access: _mods, _all, _always
24    #[allow(unused)]
25    pub use _mods::*;
26    #[allow(unused)] #[doc(hidden, no_inline)]
27    pub use _always::*;
28
29    mod _mods { #![allow(unused)]
30        pub use super::{delta::*, error::*, reexports::*};
31
32        #[cfg(feature = "time")]
33        #[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "time")))]
34        pub use super::{calendar::*, fmt::*, no::*, split::*, unix::*};
35        // WIPZONE
36        // pub use super::drop::*;
37        // pub use super::freq::*;
38        // // WIP
39        // #[cfg(feature = "_destaque_u16")]
40        // #[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "_destaque_u16")))]
41        // pub use super::looper::*;
42        pub use super::instant::*;
43    }
44    pub(super) mod _all {
45        #[doc(inline)]
46        pub use super::_mods::*;
47    }
48    pub(super) mod _always { #![allow(unused)]
49        pub use super::reexports::*;
50    }
51}
52// WIPZONE
53// mod drop;
54// mod freq;
55// WIP
56// #[cfg(feature = "_destaque_u16")]
57// mod looper;
58mod instant;