Skip to content

Commit 9b1b956

Browse files
committed
remove unused dependencies
1 parent bba86b5 commit 9b1b956

5 files changed

Lines changed: 2 additions & 37 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ napi-build = "2"
139139
napi-derive = { version = "3.0.0", default-features = false, features = ["type-def", "strict"] }
140140

141141
[workspace.metadata.cargo-shear]
142-
ignored = ["fspy_preload_unix", "fspy_preload_windows"]
142+
# These are artifact dependencies. They are not directly `use`d in Rust code.
143+
ignored = ["fspy_preload_unix", "fspy_preload_windows", "fspy_test_bin"]
143144

144145
[profile.dev]
145146
# Disabling debug info speeds up local and CI builds,

crates/fspy_preload_unix/Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,12 @@ publish = false
66
[lib]
77
crate-type = ["cdylib"]
88

9-
[target.'cfg(target_os = "linux")'.dependencies]
10-
fspy_seccomp_unotify = { workspace = true, features = ["target"] }
11-
syscalls = { workspace = true }
12-
139
[target.'cfg(unix)'.dependencies]
1410
anyhow = { workspace = true }
1511
bincode = { workspace = true }
1612
bstr = { workspace = true, default-features = false }
17-
bytemuck = { workspace = true }
1813
ctor = { workspace = true }
1914
fspy_shared = { workspace = true }
2015
fspy_shared_unix = { workspace = true }
2116
libc = { workspace = true }
22-
memmap2 = { workspace = true }
2317
nix = { workspace = true, features = ["signal", "fs", "socket", "mman", "time"] }
24-
ref-cast = { workspace = true }
25-
which = { workspace = true }

crates/fspy_preload_windows/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ crate-type = ["cdylib"]
88

99
[target.'cfg(target_os = "windows")'.dependencies]
1010
bincode = { workspace = true }
11-
bytemuck = { workspace = true }
1211
constcat = { workspace = true }
1312
fspy_detours_sys = { workspace = true }
1413
fspy_shared = { workspace = true }
1514
ntapi = { workspace = true }
16-
ref-cast = { workspace = true }
1715
smallvec = { workspace = true }
18-
which = { workspace = true }
1916
widestring = { workspace = true }
2017
winapi = { workspace = true, features = ["winerror", "winbase", "namedpipeapi", "memoryapi", "std"] }
2118
winsafe = { workspace = true }

crates/fspy_shared/Cargo.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ os_str_bytes = { workspace = true }
2020
winapi = { workspace = true, features = ["std"] }
2121
winsafe = { workspace = true }
2222

23-
[target.'cfg(target_os = "macos")'.dependencies]
24-
phf = { workspace = true }
25-
26-
[target.'cfg(unix)'.dependencies]
27-
base64 = { workspace = true }
28-
libc = { workspace = true }
29-
nix = { workspace = true, features = ["mman"] }
30-
31-
# [features]
32-
# supervisor = ["dep:tokio", "dep:passfd"]
33-
# target = []
34-
3523
[dev-dependencies]
3624
assert2 = { workspace = true }
3725
ctor = { workspace = true }

0 commit comments

Comments
 (0)