fix(core): gate mq-admin-only transport helpers behind feature flag

This commit is contained in:
t8y2 committed 2026-08-11 09:29:36 +08:00
1 parent da7a81d89d
commit 840e80e8e0
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ async fn connect_via_proxy(proxy: &ProxyEndpoint, remote: &RemoteEndpoint) -> Re
}
}
#[cfg(feature = "mq-admin")]
pub(crate) async fn connect_via_socks5_proxy(
proxy_host: &str,
proxy_port: u16,
@@ -85,6 +85,7 @@ pub(crate) async fn start_transport_layers_with_final_ssh_local_port(
.await
}
#[cfg(feature = "mq-admin")]
pub(crate) async fn start_transport_layers_with_final_ssh_socks5(
connection_id: &str,
layers: &[TransportLayerConfig],