diff --git a/src/colours.rs b/src/colours.rs index 9535722..74e6d52 100644 --- a/src/colours.rs +++ b/src/colours.rs @@ -5,6 +5,7 @@ use ansi_term::Color::*; /// The **colours** are used to paint the input. +#[allow(dead_code)] #[derive(Debug, Default)] pub struct Colours { pub qname: Style, diff --git a/src/main.rs b/src/main.rs index b7e7480..1e633ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -181,7 +181,7 @@ fn disabled_feature_check(options: &Options) { use std::process::exit; use crate::connect::TransportType; - #[cfg(all(not(feature = "with_tls"), not(feature = "with_rustls_tls")))] + #[cfg(all(not(feature = "with_tls"), not(feature = "with_rustls")))] if options.requests.inputs.transport_types.contains(&TransportType::TLS) { eprintln!("doge: Cannot use '--tls': This version of dog has been compiled without TLS support"); exit(exits::OPTIONS_ERROR);