Skip to content

Commit

Permalink
Prune unused deps and run cargo-machete in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Nov 3, 2024
1 parent 2228bfb commit 95828b7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ jobs:
- name: Run cargo audit
run: |
[[ ${{ matrix.toolchain }} != 1.82.0 ]] || (cargo install cargo-audit && cargo audit)
- name: Run cargo machete
run: |
[[ ${{ matrix.toolchain }} != 1.72.0 ]] || cargo install cargo-machete && cargo machete
2 changes: 0 additions & 2 deletions pingora-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ bytes = { workspace = true }
http = { workspace = true }
log = { workspace = true }
h2 = { workspace = true }
lru = { workspace = true }
clap = { version = "3.2.25", features = ["derive"] }
once_cell = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -44,7 +43,6 @@ strum = "0.26.2"
strum_macros = "0.26.2"
libc = "0.2.70"
chrono = { version = "~0.4.31", features = ["alloc"], default-features = false }
thread_local = "1.0"
prometheus = "0.13"
sentry = { version = "0.26", features = [
"backtrace",
Expand Down
1 change: 0 additions & 1 deletion pingora-openssl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ path = "src/lib.rs"
[dependencies]
openssl-sys = "0.9"
openssl = { version = "0.10", features = ["vendored"] }
openssl-src = { version = "300", features = ["weak-crypto"] }
tokio-openssl = { version = "0.6" }
libc = "0.2.70"
foreign-types = { version = "0.3"}
Expand Down
1 change: 0 additions & 1 deletion pingora-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ path = "src/lib.rs"
[dependencies]
pingora-error = { version = "0.4.0", path = "../pingora-error" }
pingora-core = { version = "0.4.0", path = "../pingora-core", default-features = false }
pingora-timeout = { version = "0.4.0", path = "../pingora-timeout" }
pingora-cache = { version = "0.4.0", path = "../pingora-cache", default-features = false }
tokio = { workspace = true, features = ["macros", "net"] }
pingora-http = { version = "0.4.0", path = "../pingora-http" }
Expand Down
1 change: 0 additions & 1 deletion tinyufo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ path = "src/lib.rs"
[dependencies]
ahash = { workspace = true }
flurry = "0.5"
parking_lot = "0"
crossbeam-queue = "0"
crossbeam-skiplist = "0"

Expand Down

0 comments on commit 95828b7

Please sign in to comment.