diff --git a/Cargo.lock b/Cargo.lock index b175c8e6502..7046a3a50ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4674,7 +4674,6 @@ dependencies = [ "ed25519-zebra", "futures", "futures-core", - "metrics 0.22.0", "pin-project", "rand 0.8.5", "rayon", diff --git a/tower-batch-control/Cargo.toml b/tower-batch-control/Cargo.toml index 702c851c4a9..b6c96b871f2 100644 --- a/tower-batch-control/Cargo.toml +++ b/tower-batch-control/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "tower-batch-control" version = "0.2.41-beta.9" -authors = ["Zcash Foundation ", "Tower Maintainers "] +authors = [ + "Zcash Foundation ", + "Tower Maintainers ", +] description = "Tower middleware for batch request processing" # # Legal # @@ -34,7 +37,6 @@ tracing-futures = "0.2.5" [dev-dependencies] color-eyre = "0.6.2" -metrics = "0.22.0" # This is a transitive dependency via color-eyre. # Enable a feature that makes tinyvec compile much faster. tinyvec = { version = "1.6.0", features = ["rustc_1_55"] } diff --git a/tower-batch-control/tests/ed25519.rs b/tower-batch-control/tests/ed25519.rs index f50de6608c0..cae118d0ab5 100644 --- a/tower-batch-control/tests/ed25519.rs +++ b/tower-batch-control/tests/ed25519.rs @@ -122,10 +122,8 @@ impl Service> for Verifier { if result.is_ok() { tracing::trace!(?result, "validated ed25519 signature"); - metrics::counter!("signatures.ed25519.validated").increment(1); } else { tracing::trace!(?result, "invalid ed25519 signature"); - metrics::counter!("signatures.ed25519.invalid").increment(1); } result.map_err(BoxError::from) }