1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SSL client support.
//!
//! Which particular library is used depends upon the configuration used at
//! compile time; at present it can only be OpenSSL (`--cfg openssl`); without
//! that, you won't be able to use SSL (an attempt to make an HTTPS connection
//! will return an error).

#[cfg(not(nossl))]
pub use self::openssl::NetworkStream;
#[cfg(nossl)]
pub use self::none::NetworkStream;

#[cfg(not(nossl))]
mod openssl;
#[cfg(nossl)]
mod none;