Documentation mentions non-existent `time` crate feature
Author: EnyiumCreated Apr 15, 2026Updated Aug 31, 2026
On https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html, it says:
Warning: The
timecrate must be compiled with--cfg unsound_local_offsetin order to use local timestamps. When this cfg is not enabled, local timestamps cannot be recorded, and events will be logged without timestamps.Alternatively, [
OffsetTime] can log with a local offset if it is initialized early.See the
timedocumentation for more details.
But https://docs.rs/crate/time/latest/features doesn't list it, and when searching for it in time's GitHub repository, the changelog says it's been removed.
Source: tokio-rs/tracing