Skip to content

Commit 18fcf6b

Browse files
jprendesmxpv
authored andcommitted
remove unused dependencies
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 277a1a6 commit 18fcf6b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

crates/shim/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ tokio = { workspace = true, features = ["full"], optional = true }
7272
[target.'cfg(target_os = "linux")'.dependencies]
7373
cgroups-rs.workspace = true
7474

75-
[target.'cfg(unix)'.dependencies]
76-
command-fds = "0.3.0"
77-
7875
[target.'cfg(windows)'.dependencies]
7976
mio = { version = "1.0", features = ["os-ext", "os-poll"] }
8077
windows-sys = { version = "0.52.0", features = [

crates/shim/src/error.rs

-5
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ pub enum Error {
4949
#[error("Failed to setup logger: {0}")]
5050
Setup(#[from] log::SetLoggerError),
5151

52-
/// Unable to pass fd to child process (we rely on `command_fds` crate for this).
53-
#[cfg(unix)]
54-
#[error("Failed to pass socket fd to child: {0}")]
55-
FdMap(#[from] command_fds::FdMappingCollision),
56-
5752
#[cfg(unix)]
5853
#[error("Nix error: {0}")]
5954
Nix(#[from] nix::Error),

0 commit comments

Comments
 (0)