diff options
author | Andy Caldwell <andrew.caldwell@metaswitch.com> | 2019-12-06 04:27:48 +0000 |
---|---|---|
committer | Doug Tangren <d.tangren@gmail.com> | 2019-12-05 23:27:48 -0500 |
commit | 546753dc6d3215429e6f91c80abaa6599de332e5 (patch) | |
tree | 7da7fc579f48a7e2211ff12d702d7ec6fea8ad29 /src | |
parent | 85aac5427492fa1436bcde0a839326ec2c8998cb (diff) |
Don't vendor OpenSSL except on Windows (#197)
* Don't vendor OpenSSL except on Windows
* Use a feature rather than guessing based on OS
Diffstat (limited to 'src')
-rw-r--r-- | src/transport.rs | 3 |
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 |