Skip to content

Commit

Permalink
chore: fix madsim import
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Dec 3, 2024
1 parent c32b1ee commit 8c2acd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/curp/src/client/unary/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use std::time::Duration;

#[cfg(not(madsim))]
use tonic::transport::ClientTlsConfig;
#[cfg(madsim)]
use utils::ClientTlsConfig;

use crate::members::ServerId;

Expand Down

0 comments on commit 8c2acd0

Please sign in to comment.