Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune unused deps and run cargo-machete in ci #454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight behavior change but hopefully not a big deal.

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