Remove some unused Rust dependencies

This commit is contained in:
Damien Elmes 2023-06-24 19:10:02 +10:00
parent 630b1267c2
commit b2e7ab522b
9 changed files with 4 additions and 38 deletions

5
Cargo.lock generated
View File

@ -94,7 +94,6 @@ dependencies = [
"criterion",
"csv",
"difflib",
"env_logger",
"flate2",
"fluent",
"fluent-bundle",
@ -202,7 +201,6 @@ dependencies = [
"anyhow",
"inflections",
"itertools",
"num_enum",
"prost",
"prost-build",
"prost-reflect",
@ -2129,7 +2127,6 @@ dependencies = [
"camino",
"clap 4.2.1",
"glob",
"lazy_static",
"plist",
"serde",
"serde_json",
@ -2144,7 +2141,6 @@ dependencies = [
"anyhow",
"camino",
"clap 4.2.1",
"glob",
"tugger-windows-codesign",
"walkdir",
]
@ -3319,7 +3315,6 @@ dependencies = [
"camino",
"clap 4.2.1",
"flate2",
"itertools",
"junction",
"reqwest",
"sha2",

View File

@ -62,7 +62,6 @@ coarsetime = "0.1.23"
convert_case = "0.6.0"
criterion = { version = "0.4.0" }
difflib = "0.4.0"
env_logger = "0.10.0"
flate2 = "1.0.25"
fluent = "0.16.0"
fluent-bundle = "0.15.2"

View File

@ -13,7 +13,6 @@ anyhow.workspace = true
camino.workspace = true
clap.workspace = true
flate2.workspace = true
itertools.workspace = true
junction.workspace = true
reqwest = { workspace = true, features = ["rustls-tls", "rustls-tls-native-roots"] }
sha2.workspace = true

View File

@ -593,15 +593,6 @@
"license_file": null,
"description": "A Gecko-oriented implementation of the Encoding Standard"
},
{
"name": "env_logger",
"version": "0.10.0",
"authors": null,
"repository": "https://github.com/rust-cli/env_logger/",
"license": "Apache-2.0 OR MIT",
"license_file": null,
"description": "A logging implementation for `log` which is configured via an environment variable."
},
{
"name": "errno",
"version": "0.3.1",
@ -1061,15 +1052,6 @@
"license_file": null,
"description": "HTTP date parsing and formatting"
},
{
"name": "humantime",
"version": "2.1.0",
"authors": "Paul Colomiets <paul@colomiets.name>",
"repository": "https://github.com/tailhook/humantime",
"license": "Apache-2.0 OR MIT",
"license_file": null,
"description": "A parser and formatter for std::time::{Duration, SystemTime}"
},
{
"name": "hyper",
"version": "0.14.25",
@ -1205,15 +1187,6 @@
"license_file": null,
"description": "Provides types and useful methods for working with IPv4 and IPv6 network addresses, commonly called IP prefixes. The new `IpNet`, `Ipv4Net`, and `Ipv6Net` types build on the existing `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` types already provided in Rust's standard library and align to their design to stay consistent. The module also provides useful traits that extend `Ipv4Addr` and `Ipv6Addr` with methods for `Add`, `Sub`, `BitAnd`, and `BitOr` operations. The module only uses stable feature so it is guaranteed to compile using the stable toolchain."
},
{
"name": "is-terminal",
"version": "0.4.6",
"authors": "softprops <d.tangren@gmail.com>|Dan Gohman <dev@sunfishcode.online>",
"repository": "https://github.com/sunfishcode/is-terminal",
"license": "MIT",
"license_file": null,
"description": "Test whether a given stream is a terminal"
},
{
"name": "itertools",
"version": "0.10.5",

View File

@ -13,7 +13,6 @@ apple-bundles.workspace = true
camino.workspace = true
clap.workspace = true
glob.workspace = true
lazy_static.workspace = true
plist.workspace = true
serde.workspace = true
serde_json.workspace = true

View File

@ -11,6 +11,5 @@ rust-version.workspace = true
anyhow.workspace = true
camino.workspace = true
clap.workspace = true
glob.workspace = true
tugger-windows-codesign.workspace = true
walkdir.workspace = true

View File

@ -33,7 +33,6 @@ syn.workspace = true
[dev-dependencies]
async-stream.workspace = true
env_logger.workspace = true
wiremock.workspace = true
[dependencies]

View File

@ -19,7 +19,6 @@ prost-reflect.workspace = true
prost-types.workspace = true
[dependencies]
num_enum.workspace = true
prost.workspace = true
serde.workspace = true
snafu.workspace = true

4
tools/unused-rust-deps Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cargo install cargo-udeps@0.1.40
cargo +nightly-2023-01-24-x86_64-unknown-linux-gnu udeps --all-targets