Skip to content

Commit

Permalink
build: Remove unused dependencies (#2255)
Browse files Browse the repository at this point in the history
Some of our dependencies are apparently unused, so we can remove them.

I identified some of these manually, before realizing that the `cargo
udeps` command can find unused dependencies automatically (this
functionality is unfortunately not built into Cargo). We should consider
adding `cargo udeps` as a CI check to avoid accumulating unused
dependencies in the future.
  • Loading branch information
szokeasaurusrex authored Nov 26, 2024
1 parent 7c3da7c commit b72ab72
Showing 2 changed files with 15 additions and 112 deletions.
119 changes: 15 additions & 104 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ backoff = "0.4.0"
backtrace = "0.3.67"
brotli2 = "0.3.2"
bytecount = "0.6.3"
chardet = "0.2.4"
chrono = { version = "0.4.31", features = ["serde"] }
clap = { version = "4.1.6", default-features = false, features = [
"derive",
@@ -31,7 +30,6 @@ curl = { version = "0.4.46", features = ["static-curl", "static-ssl"] }
dirs = "4.0.0"
dotenv = "0.15.0"
elementtree = "1.2.3"
encoding = "0.2.33"
flate2 = { version = "1.0.25", default-features = false, features = [
"rust_backend",
] }
@@ -46,7 +44,6 @@ java-properties = "1.4.1"
lazy_static = "1.4.0"
libc = "0.2.139"
log = { version = "0.4.17", features = ["std"] }
might-be-minified = "0.3.0"
open = "3.2.0"
parking_lot = "0.12.1"
percent-encoding = "2.2.0"
@@ -86,7 +83,6 @@ secrecy = "0.8.0"
assert_cmd = "2.0.11"
insta = { version = "1.26.0", features = ["redactions", "yaml"] }
mockito = "1.6.1"
predicates = "2.1.5"
rstest = "0.18.2"
tempfile = "3.8.1"
trycmd = "0.14.11"
@@ -102,15 +98,11 @@ with_crash_reporting = []

[target."cfg(target_os = \"macos\")".dependencies]
mac-process-info = "0.2.0"
osascript = "0.3.0"
unix-daemonize = "0.1.2"

[target."cfg(unix)"]

[target."cfg(unix)".dependencies]
openssl-probe = "0.1.5"
signal-hook = "0.3.15"
crossbeam-channel = "0.5.6"

[target."cfg(windows)"]

0 comments on commit b72ab72

Please sign in to comment.