Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Jan 24, 2025
1 parent a140d37 commit 343cc1b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -336,7 +324,7 @@ pub struct Options {
value_parser = validation::kafka_security_protocol,
help = "Kafka security protocol"
)]
pub kafka_security_protocol: Option<KafkaSslProtocol>,
pub kafka_security_protocol: Option<crate::kafka::SslProtocol>,

#[cfg(any(
all(target_os = "linux", target_arch = "x86_64"),
Expand Down

0 comments on commit 343cc1b

Please sign in to comment.