From bba1ce010e6671cfd62bcc424d434e5fa16aa547 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 2 Oct 2018 11:49:45 -0700 Subject: [PATCH] only deny warnings in tests to fix docs.rs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4555330..1095ec9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,7 +33,7 @@ //! } //! ``` #![doc(html_root_url = "https://docs.rs/hyper-tls/0.3.0")] -#![deny(warnings)] +#![cfg_attr(test, deny(warnings))] #![deny(missing_docs)] #![deny(missing_debug_implementations)]