From 5d653dac13b9082240d7ff3ebfd267e8fea5d519 Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Mon, 18 May 2026 11:12:21 +0700 Subject: [PATCH] fix(client): remove duplicate constant exports and definitions --- crates/irtt-client/src/config.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/irtt-client/src/config.rs b/crates/irtt-client/src/config.rs index c0b1817..8bc6647 100644 --- a/crates/irtt-client/src/config.rs +++ b/crates/irtt-client/src/config.rs @@ -7,7 +7,6 @@ use std::{net::SocketAddr, time::Duration}; /// protocol decoder. [`ClientConfig::server_fill`] enforces the same bound /// before opening a session. pub use irtt_proto::MAX_SERVER_FILL_BYTES; -pub use irtt_proto::MAX_SERVER_FILL_BYTES; use irtt_proto::{Clock, ReceivedStats, StampAt}; pub(crate) const DEFAULT_PORT: u16 = 2112; @@ -27,7 +26,6 @@ pub const MAX_TTL: u32 = 255; /// This is the maximum UDP payload size excluding IP and UDP headers. It caps /// [`ClientConfig::length`] before protocol packets are encoded or sent. pub const MAX_UDP_PAYLOAD_LENGTH: u32 = 65_507; -pub const MAX_UDP_PAYLOAD_LENGTH: u32 = 65_507; pub(crate) const DEFAULT_DURATION: Duration = Duration::from_secs(3); pub(crate) const DEFAULT_INTERVAL: Duration = Duration::from_secs(1); pub(crate) const DEFAULT_OPEN_TIMEOUTS: [Duration; 4] = [