From 343cc1baae58f9d3c14eab5e2b24c510516c051b Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Fri, 24 Jan 2025 17:53:57 +0530 Subject: [PATCH] chore: remove unused code --- src/cli.rs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index a46ea01aa..44317dd56 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -27,18 +27,6 @@ use crate::{ storage::{AzureBlobConfig, FSConfig, S3Config}, }; -#[cfg(any( - all(target_os = "linux", target_arch = "x86_64"), - all(target_os = "macos", target_arch = "aarch64") -))] -use crate::kafka::SslProtocol as KafkaSslProtocol; - -#[cfg(not(any( - all(target_os = "linux", target_arch = "x86_64"), - all(target_os = "macos", target_arch = "aarch64") -)))] -use std::string::String as KafkaSslProtocol; - /// Default username and password for Parseable server, used by default for local mode. /// NOTE: obviously not recommended for production pub const DEFAULT_USERNAME: &str = "admin"; @@ -336,7 +324,7 @@ pub struct Options { value_parser = validation::kafka_security_protocol, help = "Kafka security protocol" )] - pub kafka_security_protocol: Option, + pub kafka_security_protocol: Option, #[cfg(any( all(target_os = "linux", target_arch = "x86_64"),