Skip to content

Commit b72ab72

Browse files
build: Remove unused dependencies (#2255)
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.
1 parent 7c3da7c commit b72ab72

File tree

2 files changed

+15
-112
lines changed

2 files changed

+15
-112
lines changed

Cargo.lock

Lines changed: 15 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ backoff = "0.4.0"
1313
backtrace = "0.3.67"
1414
brotli2 = "0.3.2"
1515
bytecount = "0.6.3"
16-
chardet = "0.2.4"
1716
chrono = { version = "0.4.31", features = ["serde"] }
1817
clap = { version = "4.1.6", default-features = false, features = [
1918
"derive",
@@ -31,7 +30,6 @@ curl = { version = "0.4.46", features = ["static-curl", "static-ssl"] }
3130
dirs = "4.0.0"
3231
dotenv = "0.15.0"
3332
elementtree = "1.2.3"
34-
encoding = "0.2.33"
3533
flate2 = { version = "1.0.25", default-features = false, features = [
3634
"rust_backend",
3735
] }
@@ -46,7 +44,6 @@ java-properties = "1.4.1"
4644
lazy_static = "1.4.0"
4745
libc = "0.2.139"
4846
log = { version = "0.4.17", features = ["std"] }
49-
might-be-minified = "0.3.0"
5047
open = "3.2.0"
5148
parking_lot = "0.12.1"
5249
percent-encoding = "2.2.0"
@@ -86,7 +83,6 @@ secrecy = "0.8.0"
8683
assert_cmd = "2.0.11"
8784
insta = { version = "1.26.0", features = ["redactions", "yaml"] }
8885
mockito = "1.6.1"
89-
predicates = "2.1.5"
9086
rstest = "0.18.2"
9187
tempfile = "3.8.1"
9288
trycmd = "0.14.11"
@@ -102,15 +98,11 @@ with_crash_reporting = []
10298

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

108102
[target."cfg(unix)"]
109103

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

115107
[target."cfg(windows)"]
116108

0 commit comments

Comments
 (0)