Skip to main content Crate deep_time Copy item path Source pub use sidereal::Sidereal ;pub use error::DtErr ;pub use error::DtErrKind ;pub use math::atan::atan ;pub use math::atan2::atan2 ;pub use math::cos::cos ;pub use math::div::rem_euclid_f ;pub use math::floor::floor_f ;pub use math::log::log ;pub use math::sin::sin ;pub use math::sqrt::hypot ;pub use math::sqrt::sqrt ;pub use math::tan::tan ;constants eop error historical_sofa leap_seconds Leap seconds table from the official IANA
leap-seconds.list
Updated through IERS Bulletin C as of April 2026.
Last leap second: 2017-01-01 (TAI-UTC = 37 s)
File expires: 28 December 2026 lunar mars math sidereal tzdb This module is auto-generated from the IANA Time Zone Database
found at: https://www.iana.org/time-zones
Source directory: tzdata2026a
It provides both a minimal mode (UTC + identical zones only) and a full
mode (tz feature) which has full historical transitions.
Generator source: https://github.com/ragardner/tz-info-generator-rs an_err Ergonomic constructor and chaining macro for AnErr . f Convert a number to the crates Real type (f64). AnErr A compact, Copy, zero-allocation error type that records a parallel stack
of error kinds, source locations, and per-level human-readable reasons. AsciiStr Fixed-capacity, stack-only ASCII string stored in a single [u8; N] array. Drift Quadratic polynomial that describes the accumulated difference between an
observer’s proper time (the time measured by a real clock moving through
spacetime) and a chosen coordinate time such as TT, TAI, or any other
Scale. Dt Dt A high-precision instant or duration with attosecond resolution.Every Builder type that enables the ergonomic start.every(step) syntax. ObserverState A snapshot of an observer’s relativistic state at a specific instant. ParseCfg Position A 3-dimensional position vector expressed in Cartesian coordinates (x, y, z)
with units of meters (SI). Spacetime The three local spacetime quantities that fully determine how fast an observer’s
proper time advances relative to coordinate time. StrPTimeFmt A pre-validated, reusable date/time format string. TimeParts A flexible, partially-filled representation of a civil datetime. TimeRange An iterator over evenly spaced Dt values. Velocity A 3-dimensional velocity vector expressed in Cartesian coordinates (vx, vy, vz)
with units of meters per second (SI). WireErr Fully portable, zero-allocation error for transmission/reception. WireLocation Portable location for wire transmission. YmdHms Combined Gregorian date + wall time with subsecond precision. YmdHmsRich Gregorian calendar and time-of-day components of a Dt . AsciiStrError Errors returned by AsciiStr operations. Lang Language codes following ISO 639-1 standard (two-letter codes)
Default is En (English) Meridiem AM / PM indicator. Mode Only relevant for purely numeric dates. Offset Timezone offset representation. Order Scale Time scales supported for conversions. Weekday Day of the week. Default is set to Sunday. AttosTraits Trait that adds ergonomic conversions from attoseconds values
for i64, i128, and f64. TimeTraits Trait that adds ergonomic time-unit methods to integers and floats. to_fs Converts attoseconds → femtoseconds (fs) to_ms Converts attoseconds → milliseconds (ms) to_ns Converts attoseconds → nanoseconds (ns) to_ps Converts attoseconds → picoseconds (ps) to_sec Converts attoseconds → seconds (s) to_sec_f Lossy conversion of attoseconds to → float seconds (s).to_us Converts attoseconds → microseconds (us) Real