From 45d0ccfc328c0a7d07a6b26bc47f78f646b81404 Mon Sep 17 00:00:00 2001 From: chris west Date: Thu, 16 Jan 2020 01:44:51 -0800 Subject: [PATCH] missing doc --- src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f1aacb6..63ea700 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;