Skip to content

Commit 35540d4

Browse files
committed
Move ffi re-exports to ffi/types.rs
1 parent 8136a98 commit 35540d4

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/ffi/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ pub use crate::entropy::{generate_entropy_mnemonic, NodeEntropy, WordCount};
148148
use crate::error::Error;
149149
pub use crate::liquidity::LSPS1OrderStatus;
150150
pub use crate::logger::{LogLevel, LogRecord, LogWriter};
151+
pub use crate::probing::ProbingConfig;
151152
use crate::{hex_utils, SocketAddress, UserChannelId};
152153

153154
uniffi::custom_type!(PublicKey, String, {

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
115115
#[cfg(cycle_tests)]
116116
use std::{any::Any, sync::Weak};
117117

118-
#[cfg(feature = "uniffi")]
119-
use crate::probing::ProbingConfig;
120118
pub use balance::{BalanceDetails, LightningBalance, PendingSweepBalance};
121119
pub use bip39;
122120
pub use bitcoin;
@@ -174,8 +172,6 @@ use payment::{
174172
UnifiedPayment,
175173
};
176174
use peer_store::{PeerInfo, PeerStore};
177-
#[cfg(feature = "uniffi")]
178-
pub use probing::ArcedProbingConfigBuilder as ProbingConfigBuilder;
179175
use probing::{run_prober, Prober};
180176
use runtime::Runtime;
181177
pub use tokio;

0 commit comments

Comments
 (0)