Skip to content

Commit 84c99b1

Browse files
committed
Remove surplus dependencies detected by cargo-machete, exlude false positive 'libc'
1 parent 63845cc commit 84c99b1

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

bindings-generator/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ custom-godot = ["which"]
1717

1818
[dependencies]
1919
heck = "0.4"
20-
memchr = "2"
2120
miniserde = "0.1.16"
2221
proc-macro2 = "1"
2322
quote = "1"

gdnative-async/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ gdnative-core = { path = "../gdnative-core", version = "=0.10.0" }
1919
gdnative-bindings = { path = "../gdnative-bindings", version = "=0.10.0" }
2020
atomic-waker = "1"
2121
crossbeam-channel = "0.5"
22-
crossbeam-utils = "0.8"
2322
futures-task = "0.3"
2423
once_cell = "1"
2524
parking_lot = "0.12"

gdnative-bindings/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ one-class-one-file = []
1717
custom-godot = ["gdnative_bindings_generator/custom-godot"]
1818

1919
[dependencies]
20-
gdnative-sys = { path = "../gdnative-sys", version = "=0.10.0" }
2120
gdnative-core = { path = "../gdnative-core", version = "=0.10.0" }
22-
bitflags = "1"
2321
libc = "0.2"
2422

2523
[build-dependencies]

gdnative-sys/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ proc-macro2 = "1"
2121
quote = "1"
2222
miniserde = "0.1.16"
2323
semver = "1"
24+
25+
# False positives found by cargo-machete
26+
[package.metadata.cargo-machete]
27+
ignored = ["libc"]

test/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ custom-godot = ["gdnative/custom-godot"]
1717

1818
[dependencies]
1919
gdnative = { path = "../gdnative", features = ["gd-test", "serde", "async"] }
20-
gdnative-derive = { path = "../gdnative-derive" }
2120
approx = "0.5"
2221
ron = "0.7"
2322
serde = "1"
@@ -26,4 +25,3 @@ bincode = "1"
2625
serde_yaml = "0.8.23"
2726
rmp-serde = "1"
2827
futures = "0.3"
29-
once_cell = "1"

0 commit comments

Comments
 (0)