From c4fddae515005e59578a3aced75883a1cf3376da Mon Sep 17 00:00:00 2001 From: David Freifeld Date: Tue, 15 Jul 2025 13:06:53 -0700 Subject: [PATCH] Remove unused dependencies, bump workspace-hack --- Cargo.lock | 10 +--------- Cargo.toml | 7 ------- compute_tools/Cargo.toml | 1 - control_plane/Cargo.toml | 1 - libs/http-utils/Cargo.toml | 2 -- libs/pageserver_api/Cargo.toml | 1 - libs/postgres_versioninfo/Cargo.toml | 1 - libs/posthog_client_lite/Cargo.toml | 1 - libs/utils/Cargo.toml | 1 - pageserver/Cargo.toml | 1 - workspace_hack/Cargo.toml | 1 + 11 files changed, 2 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f36790d30..d09dbd3879 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1323,7 +1323,6 @@ dependencies = [ "aws-smithy-types", "axum", "axum-extra", - "base64 0.22.1", "bytes", "camino", "cfg-if", @@ -1461,7 +1460,6 @@ dependencies = [ "compute_api", "endpoint_storage", "futures", - "http-utils", "humantime", "humantime-serde", "hyper 0.14.30", @@ -2894,13 +2892,11 @@ dependencies = [ "fail", "futures", "hyper 0.14.30", - "itertools 0.10.5", "jemalloc_pprof", "jsonwebtoken", "metrics", "once_cell", "pprof", - "regex", "routerify", "rustls 0.23.27", "rustls-pemfile 2.1.1", @@ -4382,7 +4378,6 @@ dependencies = [ "pageserver_compaction", "pageserver_page_api", "pem", - "pin-project-lite", "postgres-protocol", "postgres-types", "postgres_backend", @@ -4456,7 +4451,6 @@ dependencies = [ "humantime-serde", "itertools 0.10.5", "nix 0.30.1", - "once_cell", "postgres_backend", "postgres_ffi_types", "postgres_versioninfo", @@ -5009,7 +5003,6 @@ dependencies = [ name = "postgres_versioninfo" version = "0.1.0" dependencies = [ - "anyhow", "serde", "serde_repr", "thiserror 1.0.69", @@ -5030,7 +5023,6 @@ dependencies = [ "tokio", "tokio-util", "tracing", - "tracing-utils", "workspace_hack", ] @@ -8191,7 +8183,6 @@ dependencies = [ "serde", "serde_assert", "serde_json", - "serde_with", "signal-hook", "strum", "strum_macros", @@ -8766,6 +8757,7 @@ dependencies = [ "once_cell", "p256 0.13.2", "parquet", + "percent-encoding", "prettyplease", "proc-macro2", "prost 0.13.5", diff --git a/Cargo.toml b/Cargo.toml index df2064a4a7..ab3ae2be85 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,7 +74,6 @@ aws-smithy-async = { version = "1.2.1", default-features = false, features=["rt- aws-smithy-types = "1.2" aws-credential-types = "1.2.0" aws-sigv4 = { version = "1.2", features = ["sign-http"] } -aws-types = "1.3" axum = { version = "0.8.1", features = ["ws"] } axum-extra = { version = "0.10.0", features = ["typed-header", "query"] } base64 = "0.22" @@ -119,7 +118,6 @@ humantime = "2.2" humantime-serde = "1.1.1" hyper0 = { package = "hyper", version = "0.14" } hyper = "1.4" -hyper-util = "0.1" tokio-tungstenite = "0.21.0" indexmap = { version = "2", features = ["serde"] } indoc = "2" @@ -168,7 +166,6 @@ rpds = "0.13" rustc-hash = "1.1.0" rustls = { version = "0.23.16", default-features = false } rustls-pemfile = "2" -rustls-pki-types = "1.11" scopeguard = "1.1" sysinfo = "0.29.2" sd-notify = "0.4.1" @@ -214,12 +211,10 @@ tower-http = { version = "0.6.2", features = ["auth", "request-id", "trace"] } # This revision uses opentelemetry 0.27. There's no tag for it. tower-otel = { git = "https://github.com/mattiapenati/tower-otel", rev = "56a7321053bcb72443888257b622ba0d43a11fcd" } -tower-service = "0.3.3" tracing = "0.1" tracing-error = "0.2" tracing-log = "0.2" tracing-opentelemetry = "0.28" -tracing-serde = "0.2.0" tracing-subscriber = { version = "0.3", default-features = false, features = ["smallvec", "fmt", "tracing-log", "std", "env-filter", "json"] } try-lock = "0.2.5" test-log = { version = "0.2.17", default-features = false, features = ["log"] } @@ -259,7 +254,6 @@ endpoint_storage = { version = "0.0.1", path = "./endpoint_storage/" } http-utils = { version = "0.1", path = "./libs/http-utils/" } metrics = { version = "0.1", path = "./libs/metrics/" } neon-shmem = { version = "0.1", path = "./libs/neon-shmem/" } -pageserver = { path = "./pageserver" } pageserver_api = { version = "0.1", path = "./libs/pageserver_api/" } pageserver_client = { path = "./pageserver/client" } pageserver_client_grpc = { path = "./pageserver/client_grpc" } @@ -281,7 +275,6 @@ storage_controller_client = { path = "./storage_controller/client" } tenant_size_model = { version = "0.1", path = "./libs/tenant_size_model/" } tracing-utils = { version = "0.1", path = "./libs/tracing-utils/" } utils = { version = "0.1", path = "./libs/utils/" } -vm_monitor = { version = "0.1", path = "./libs/vm_monitor/" } wal_decoder = { version = "0.1", path = "./libs/wal_decoder" } walproposer = { version = "0.1", path = "./libs/walproposer/" } diff --git a/compute_tools/Cargo.toml b/compute_tools/Cargo.toml index 910bae3bda..8366c4dcb8 100644 --- a/compute_tools/Cargo.toml +++ b/compute_tools/Cargo.toml @@ -11,7 +11,6 @@ testing = ["fail/failpoints"] [dependencies] async-compression.workspace = true -base64.workspace = true aws-config.workspace = true aws-sdk-s3.workspace = true aws-sdk-kms.workspace = true diff --git a/control_plane/Cargo.toml b/control_plane/Cargo.toml index bbaa3f12b9..59d5756e24 100644 --- a/control_plane/Cargo.toml +++ b/control_plane/Cargo.toml @@ -39,7 +39,6 @@ safekeeper_api.workspace = true safekeeper_client.workspace = true postgres_connection.workspace = true storage_broker.workspace = true -http-utils.workspace = true utils.workspace = true whoami.workspace = true endpoint_storage.workspace = true diff --git a/libs/http-utils/Cargo.toml b/libs/http-utils/Cargo.toml index ab9380089b..407443ba3b 100644 --- a/libs/http-utils/Cargo.toml +++ b/libs/http-utils/Cargo.toml @@ -12,12 +12,10 @@ camino.workspace = true fail.workspace = true futures.workspace = true hyper0.workspace = true -itertools.workspace = true jemalloc_pprof.workspace = true jsonwebtoken.workspace = true once_cell.workspace = true pprof.workspace = true -regex.workspace = true routerify.workspace = true rustls-pemfile.workspace = true rustls.workspace = true diff --git a/libs/pageserver_api/Cargo.toml b/libs/pageserver_api/Cargo.toml index 7accbdabca..d73f8a83ef 100644 --- a/libs/pageserver_api/Cargo.toml +++ b/libs/pageserver_api/Cargo.toml @@ -38,7 +38,6 @@ reqwest.workspace = true rand.workspace = true tracing.workspace = true tracing-utils.workspace = true -once_cell.workspace = true [dev-dependencies] bincode.workspace = true diff --git a/libs/postgres_versioninfo/Cargo.toml b/libs/postgres_versioninfo/Cargo.toml index cc59f9698d..663f85fbee 100644 --- a/libs/postgres_versioninfo/Cargo.toml +++ b/libs/postgres_versioninfo/Cargo.toml @@ -5,7 +5,6 @@ edition = "2024" license.workspace = true [dependencies] -anyhow.workspace = true thiserror.workspace = true serde.workspace = true serde_repr.workspace = true diff --git a/libs/posthog_client_lite/Cargo.toml b/libs/posthog_client_lite/Cargo.toml index 05a3a9774e..be25ddae3d 100644 --- a/libs/posthog_client_lite/Cargo.toml +++ b/libs/posthog_client_lite/Cargo.toml @@ -14,6 +14,5 @@ sha2.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["process", "sync", "fs", "rt", "io-util", "time"] } tokio-util.workspace = true -tracing-utils.workspace = true tracing.workspace = true workspace_hack.workspace = true diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index 7b1dc56071..5338c3c298 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -33,7 +33,6 @@ pem.workspace = true pin-project-lite.workspace = true regex.workspace = true serde.workspace = true -serde_with.workspace = true serde_json.workspace = true signal-hook.workspace = true thiserror.workspace = true diff --git a/pageserver/Cargo.toml b/pageserver/Cargo.toml index 1fd0dccff0..f7abfcf2cf 100644 --- a/pageserver/Cargo.toml +++ b/pageserver/Cargo.toml @@ -55,7 +55,6 @@ pageserver_client.workspace = true # for ResponseErrorMessageExt TOOD refactor t pageserver_compaction.workspace = true pageserver_page_api.workspace = true pem.workspace = true -pin-project-lite.workspace = true postgres_backend.workspace = true postgres_connection.workspace = true postgres_ffi.workspace = true diff --git a/workspace_hack/Cargo.toml b/workspace_hack/Cargo.toml index c61598cdf6..f0a6649021 100644 --- a/workspace_hack/Cargo.toml +++ b/workspace_hack/Cargo.toml @@ -73,6 +73,7 @@ num-traits = { version = "0.2", features = ["i128", "libm"] } once_cell = { version = "1" } p256 = { version = "0.13", features = ["jwk"] } parquet = { version = "53", default-features = false, features = ["zstd"] } +percent-encoding = { version = "2" } prost = { version = "0.13", features = ["no-recursion-limit", "prost-derive"] } rand = { version = "0.8", features = ["small_rng"] } regex = { version = "1" }