summaryrefslogtreecommitdiffstats
path: root/src/transport.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport.rs')
-rw-r--r--src/transport.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport.rs b/src/transport.rs
index ce089fc..2887790 100644
--- a/src/transport.rs
+++ b/src/transport.rs
@@ -221,7 +221,8 @@ impl Transport {
Transport::Tcp { .. } => (),
#[cfg(feature = "tls")]
Transport::EncryptedTcp { .. } => (),
- _ => panic!("connection streaming is only supported over TCP"),
+ #[cfg(feature = "unix-socket")]
+ Transport::Unix { .. } => panic!("connection streaming is only supported over TCP"),
};
let req = self