diff --git a/mirrord/kube/src/api/kubernetes.rs b/mirrord/kube/src/api/kubernetes.rs index 402e9cde53c..807571d22f9 100644 --- a/mirrord/kube/src/api/kubernetes.rs +++ b/mirrord/kube/src/api/kubernetes.rs @@ -268,7 +268,7 @@ impl KubernetesAPI { } } -/// Trait for IO streams returned from [`KubernetesAPI::create_connection`]. +/// Trait for IO streams returned from [`KubernetesAPI::create_connection_with_portforward`]. /// It's here only to group the exisiting traits we actually need and return a `Box` #[cfg(feature = "portforwarder")] pub trait UnpinStream: diff --git a/mirrord/operator/Cargo.toml b/mirrord/operator/Cargo.toml index 124e21ba818..731b67b8782 100644 --- a/mirrord/operator/Cargo.toml +++ b/mirrord/operator/Cargo.toml @@ -33,6 +33,7 @@ client = [ "dep:mirrord-progress", "dep:mirrord-protocol", "dep:rand", + "dep:tokio", "dep:tokio-tungstenite", "dep:tracing", ] @@ -40,7 +41,6 @@ crd = [ "dep:k8s-openapi", "dep:kube", "dep:mirrord-config", - "dep:tokio", "dep:serde_json" ] setup = ["crd", "dep:serde_yaml"] diff --git a/mirrord/protocol/Cargo.toml b/mirrord/protocol/Cargo.toml index c24af340c79..3bb306ad336 100644 --- a/mirrord/protocol/Cargo.toml +++ b/mirrord/protocol/Cargo.toml @@ -28,7 +28,6 @@ hyper = { workspace = true, features = ["client"] } http-serde = "2" http-body-util = { workspace = true } fancy-regex = { workspace = true } -libc.workspace = true socket2.workspace = true semver = { workspace = true, features = ["serde"] } tokio-stream.workspace = true @@ -37,4 +36,5 @@ tokio.workspace = true mirrord-macros = { path = "../macros" } [target.'cfg(target_os = "linux")'.dependencies] +libc.workspace = true nix = { workspace = true, features = ["fs"] }