missing doc

pull/14/head
chris west 4 years ago
parent dce0729e7a
commit 45d0ccfc32

@ -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;

Loading…
Cancel
Save