From 4786dc6903e7726cc9c3b76b516790818dc27397 Mon Sep 17 00:00:00 2001 From: Ethan Donowitz Date: Tue, 23 Apr 2024 17:34:37 -0400 Subject: [PATCH] treewide: Remove unused dependencies This commit removes some unused dependencies as reported by `cargo udeps`. Change-Id: Iebcf5c662b392f2825232cc75a587d770105bfb0 Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7377 Tested-by: Buildkite CI Reviewed-by: Jason Brown --- readyset-telemetry-reporter/Cargo.toml | 4 ++-- replicators/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readyset-telemetry-reporter/Cargo.toml b/readyset-telemetry-reporter/Cargo.toml index c1661e3daa..041eda2cfc 100644 --- a/readyset-telemetry-reporter/Cargo.toml +++ b/readyset-telemetry-reporter/Cargo.toml @@ -18,7 +18,7 @@ serde_with_macros = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true, features = ["full"] } tracing = { workspace = true, features = ["release_max_level_debug"] } -readyset-tracing = { path = "../readyset-tracing" } +readyset-tracing = { path = "../readyset-tracing", optional = true } readyset-util = { path = "../readyset-util" } uuid = { workspace = true, features = ["v4"] } machine-uid = { workspace = true } @@ -30,4 +30,4 @@ readyset-version = { path = "../readyset-version" } tokio = { workspace = true, features = ["full", "test-util"] } [features] -test-util = [] +test-util = ["readyset-tracing"] diff --git a/replicators/Cargo.toml b/replicators/Cargo.toml index a32e500444..7638ba144d 100644 --- a/replicators/Cargo.toml +++ b/replicators/Cargo.toml @@ -43,13 +43,13 @@ mysql-time = { path = "../mysql-time" } mysql-srv = { path = "../mysql-srv" } readyset-data = { path = "../readyset-data" } database-utils = { path = "../database-utils" } -test-utils = { path = "../test-utils" } failpoint-macros = { path = "../failpoint-macros" } readyset-sql-passes = { path = "../readyset-sql-passes" } readyset-telemetry-reporter = { path = "../readyset-telemetry-reporter" } replication-offset = { path = "../replication-offset" } [dev-dependencies] +test-utils = { path = "../test-utils" } readyset-server = { path = "../readyset-server" } readyset-telemetry-reporter = { path = "../readyset-telemetry-reporter", features = ["test-util"] } readyset-client-test-helpers = { path = "../readyset-client-test-helpers", features = ["postgres"] }