Skip to content

Commit 165279a

Browse files
committed
f Rexport tokio and allow dead code in uniffi builder method
1 parent e6ce2d9 commit 165279a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ impl NodeBuilder {
259259
///
260260
/// If not provided, the node will spawn its own runtime or reuse any outer runtime context it
261261
/// can detect.
262+
#[cfg_attr(feature = "uniffi", allow(dead_code))]
262263
pub fn set_runtime(&mut self, runtime_handle: tokio::runtime::Handle) -> &mut Self {
263264
self.runtime_handle = Some(runtime_handle);
264265
self

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ pub use lightning;
107107
pub use lightning_invoice;
108108
pub use lightning_liquidity;
109109
pub use lightning_types;
110+
pub use tokio;
110111
pub use vss_client;
111112

112113
pub use balance::{BalanceDetails, LightningBalance, PendingSweepBalance};

0 commit comments

Comments
 (0)