Remove extern crate (#5922)

* Remove extern crate
This commit is contained in:
Michael Sproul
2024-06-18 01:05:21 +10:00
committed by GitHub
parent 44c03d5d17
commit 21f3a191c5
33 changed files with 23 additions and 41 deletions

View File

@@ -1,6 +1,4 @@
#[macro_use]
extern crate lazy_static;
use lazy_static::lazy_static;
use lighthouse_metrics::{
inc_counter, try_create_int_counter, IntCounter, Result as MetricsResult,
};

View File

@@ -1,5 +1,6 @@
//! Exposes [`MetricsLayer`]: A tracing layer that registers metrics of logging events.
use lazy_static::lazy_static;
use lighthouse_metrics as metrics;
use tracing_log::NormalizeEvent;