Skip to content

Commit

Permalink
remove unused dependencies (#3438)
Browse files Browse the repository at this point in the history
<!-- start metadata -->

**Checklist**

Complete the checklist (and note appropriate exceptions) before a final
PR is raised.

- [ ] Changes are compatible[^1]
- [ ] Documentation[^2] completed
- [ ] Performance impact assessed and acceptable
- Tests added and passing[^3]
    - [ ] Unit Tests
    - [ ] Integration Tests
    - [ ] Manual Tests

**Exceptions**

*Note any exceptions here*

**Notes**

[^1]. It may be appropriate to bring upcoming changes to the attention
of other (impacted) groups. Please endeavour to do this before seeking
PR approval. The mechanism for doing this will vary considerably, so use
your judgement as to how and when to do this.
[^2]. Configuration is an important part of many changes. Where
applicable please try to document configuration examples.
[^3]. Tick whichever testing boxes are applicable. If you are adding
Manual Tests:
- please document the manual testing (extensively) in the Exceptions.
- please raise a separate issue to automate the test and label it (or
ask for it to be labeled) as `manual test`
  • Loading branch information
Geal authored Jul 14, 2023
1 parent a8a1b2b commit 7d3919b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 50 deletions.
1 change: 0 additions & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ dependencies = [
"async-trait",
"atty",
"axum",
"backtrace",
"base64 0.20.0",
"brotli",
"buildstructor 0.5.3",
Expand Down
1 change: 0 additions & 1 deletion apollo-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ async-compression = { version = "0.3.15", features = [
async-trait = "0.1.71"
atty = "0.2.14"
axum = { version = "0.6.18", features = ["headers", "json", "original-uri"] }
backtrace = "0.3.68"
base64 = "0.20.0"
buildstructor = "0.5.3"
bytes = "1.4.0"
Expand Down
46 changes: 2 additions & 44 deletions xtask/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ dependencies = [
"rustc-demangle",
]

[[package]]
name = "base64"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5"

[[package]]
name = "base64"
version = "0.21.2"
Expand Down Expand Up @@ -331,15 +325,6 @@ dependencies = [
"cfg-if",
]

[[package]]
name = "crossbeam-utils"
version = "0.8.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
dependencies = [
"cfg-if",
]

[[package]]
name = "crypto-common"
version = "0.1.6"
Expand Down Expand Up @@ -1145,7 +1130,7 @@ version = "0.11.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55"
dependencies = [
"base64 0.21.2",
"base64",
"bytes",
"encoding_rs",
"futures-core",
Expand Down Expand Up @@ -1244,7 +1229,7 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b"
dependencies = [
"base64 0.21.2",
"base64",
]

[[package]]
Expand Down Expand Up @@ -1354,12 +1339,6 @@ dependencies = [
"serde",
]

[[package]]
name = "serde_json_traversal"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8363f19aa1f3b2fc0bc9648fdde59c1074327a6f756fdd502fb1cfeb8179323c"

[[package]]
name = "serde_urlencoded"
version = "0.7.1"
Expand Down Expand Up @@ -1448,12 +1427,6 @@ dependencies = [
"unicode-ident",
]

[[package]]
name = "tap"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"

[[package]]
name = "tar"
version = "0.4.38"
Expand Down Expand Up @@ -2027,7 +2000,6 @@ name = "xtask"
version = "1.5.0"
dependencies = [
"anyhow",
"base64 0.20.0",
"camino",
"cargo_metadata",
"chrono",
Expand All @@ -2046,15 +2018,12 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"serde_json_traversal",
"tap",
"tar",
"tempfile",
"tinytemplate",
"tokio",
"walkdir",
"which",
"zip",
]

[[package]]
Expand All @@ -2071,14 +2040,3 @@ name = "zeroize"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9"

[[package]]
name = "zip"
version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
dependencies = [
"byteorder",
"crc32fast",
"crossbeam-utils",
]
4 changes: 0 additions & 4 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ publish = false

[dependencies]
anyhow = "1"
base64 = "0.20"
camino = "1"
clap = { version = "4.3.11", features = ["derive"] }
cargo_metadata = "0.15"
Expand All @@ -35,14 +34,11 @@ reqwest = { version = "0.11", default-features = false, features = [
] }
serde = { version = "1.0.171", features = ["derive"] }
serde_json = "1"
serde_json_traversal = "0.2"
tar = "0.4"
tempfile = "3"
tap = "1.0.1"
tinytemplate = "1.2.1"
tokio = "1.29.1"
which = "4"
zip = { version = "0.6", default-features = false }
walkdir = "2.3.3"

[dev-dependencies]
Expand Down

0 comments on commit 7d3919b

Please sign in to comment.