|
|
|
@ -60,14 +60,16 @@ pub const BUILD_DATE: &str = env!("BUILD_DATE");
|
|
|
|
|
/// nicely, but if we have to crash we will try to show this.
|
|
|
|
|
pub const BUG_URL: &str = "https://github.com/xvxx/phetch/issues/new";
|
|
|
|
|
|
|
|
|
|
/// Whether we compiled with TLS support.
|
|
|
|
|
#[cfg(feature = "tls")]
|
|
|
|
|
/// Whether we compiled with TLS support.
|
|
|
|
|
pub const TLS_SUPPORT: bool = true;
|
|
|
|
|
#[cfg(not(feature = "tls"))]
|
|
|
|
|
/// Whether we compiled with TLS support.
|
|
|
|
|
pub const TLS_SUPPORT: bool = false;
|
|
|
|
|
|
|
|
|
|
/// Whether we compiled with Tor support.
|
|
|
|
|
#[cfg(feature = "tor")]
|
|
|
|
|
/// Whether we compiled with Tor support.
|
|
|
|
|
pub const TOR_SUPPORT: bool = true;
|
|
|
|
|
#[cfg(not(feature = "tor"))]
|
|
|
|
|
/// Whether we compiled with Tor support.
|
|
|
|
|
pub const TOR_SUPPORT: bool = false;
|
|
|
|
|