summaryrefslogtreecommitdiffstats
path: root/vendor/env_logger/src/fmt/humantime/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/env_logger/src/fmt/humantime/mod.rs')
-rw-r--r--vendor/env_logger/src/fmt/humantime/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/env_logger/src/fmt/humantime/mod.rs b/vendor/env_logger/src/fmt/humantime/mod.rs
new file mode 100644
index 000000000..ac23ae249
--- /dev/null
+++ b/vendor/env_logger/src/fmt/humantime/mod.rs
@@ -0,0 +1,11 @@
+/*
+This internal module contains the timestamp implementation.
+
+Its public API is available when the `humantime` crate is available.
+*/
+
+#[cfg_attr(feature = "humantime", path = "extern_impl.rs")]
+#[cfg_attr(not(feature = "humantime"), path = "shim_impl.rs")]
+mod imp;
+
+pub(in crate::fmt) use self::imp::*;