Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tracing-subscriber]: add chrono crate implementations of FormatTime #2690

Merged
merged 10 commits into from
Sep 25, 2023
Prev Previous commit
fix remaining nits
davidbarsky committed Sep 22, 2023
commit 56f35773b066bf91776ec2f098a591af94c24528
1 change: 0 additions & 1 deletion tracing-subscriber/src/fmt/time/chrono_crate.rs
Original file line number Diff line number Diff line change
@@ -108,7 +108,6 @@ impl FormatTime for ChronoUtc {
/// the supported syntax.
///
/// [`chrono::format::strftime`]: https://docs.rs/chrono/0.4.9/chrono/format/strftime/index.html
#[cfg_attr(docsrs, doc(cfg(feature = "chrono")))]
#[derive(Debug, Clone, Eq, PartialEq)]
enum ChronoFmtType {
/// Format according to the RFC 3339 convention.
1 change: 0 additions & 1 deletion tracing-subscriber/src/fmt/time/mod.rs
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ pub use time_crate::LocalTime;

/// [`chrono`]-based implementation for [`FormatTime`].
#[cfg(feature = "chrono")]
#[cfg_attr(docsrs, doc(cfg(feature = "local-time")))]
mod chrono_crate;

#[cfg(feature = "chrono")]