Remove unused dependencies (cargo-machete) (#331)
* Add cargo-machete to CI Lints
This commit is contained in:
parent
49cf7b7d11
commit
bf296a455e
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -51,12 +51,16 @@ jobs:
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
shared-key: common
|
shared-key: common
|
||||||
|
- name: Install cargo-machete
|
||||||
|
run: cargo install --locked cargo-machete
|
||||||
- name: Cargo fmt
|
- name: Cargo fmt
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
- name: Cargo doc
|
- name: Cargo doc
|
||||||
run: cargo doc --workspace --no-deps
|
run: cargo doc --workspace --no-deps
|
||||||
- name: Cargo clippy
|
- name: Cargo clippy
|
||||||
run: cargo clippy --workspace --tests -- -D warnings
|
run: cargo clippy --workspace --tests -- -D warnings
|
||||||
|
- name: Cargo machete
|
||||||
|
run: cargo machete
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: Test
|
name: Test
|
||||||
|
|
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -1435,7 +1435,6 @@ dependencies = [
|
||||||
"gilrs",
|
"gilrs",
|
||||||
"log",
|
"log",
|
||||||
"pixels",
|
"pixels",
|
||||||
"randomize",
|
|
||||||
"simple-invaders",
|
"simple-invaders",
|
||||||
"winit",
|
"winit",
|
||||||
"winit_input_helper",
|
"winit_input_helper",
|
||||||
|
@ -2257,9 +2256,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "regex"
|
name = "regex"
|
||||||
version = "1.7.0"
|
version = "1.7.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
|
checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aho-corasick",
|
"aho-corasick",
|
||||||
"memchr",
|
"memchr",
|
||||||
|
@ -2714,7 +2713,6 @@ name = "tiny-skia-winit"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger",
|
"env_logger",
|
||||||
"euclid",
|
|
||||||
"log",
|
"log",
|
||||||
"pixels",
|
"pixels",
|
||||||
"tiny-skia 0.8.2",
|
"tiny-skia 0.8.2",
|
||||||
|
@ -2783,9 +2781,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typed-arena"
|
name = "typed-arena"
|
||||||
version = "2.0.1"
|
version = "2.0.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae"
|
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ucd-trie"
|
name = "ucd-trie"
|
||||||
|
|
|
@ -17,7 +17,6 @@ getrandom = "0.2"
|
||||||
gilrs = "0.10"
|
gilrs = "0.10"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
pixels = { path = "../.." }
|
pixels = { path = "../.." }
|
||||||
randomize = "3.0"
|
|
||||||
simple-invaders = { path = "simple-invaders" }
|
simple-invaders = { path = "simple-invaders" }
|
||||||
winit = "0.27"
|
winit = "0.27"
|
||||||
winit_input_helper = "0.13"
|
winit_input_helper = "0.13"
|
||||||
|
|
|
@ -11,7 +11,6 @@ default = ["optimize"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
euclid = "0.22"
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
pixels = { path = "../.." }
|
pixels = { path = "../.." }
|
||||||
winit = "0.27"
|
winit = "0.27"
|
||||||
|
|
Loading…
Reference in a new issue