Skip to content

Commit

Permalink
build: Remove unused dependencies
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 committed Nov 18, 2024
1 parent 789d8a9 commit c4a273f
Show file tree
Hide file tree
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
Expand Up @@ -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",
Expand All @@ -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",
] }
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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)"]

Expand Down

0 comments on commit c4a273f

Please sign in to comment.