From 726663d4e401a671879976ac94166d57b0921096 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Thu, 19 Mar 2026 10:36:18 +0000 Subject: [PATCH] Re-export Tunnel API and add init_logging convenience function --- smolmix/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/smolmix/src/lib.rs b/smolmix/src/lib.rs index 0575b1d4ad..85e41f5532 100644 --- a/smolmix/src/lib.rs +++ b/smolmix/src/lib.rs @@ -4,10 +4,17 @@ mod bridge; mod device; mod error; +pub mod tunnel; pub use bridge::{BridgeShutdownHandle, NymIprBridge}; pub use device::NymIprDevice; pub use error::SmolmixError; +pub use tunnel::{NetworkEnvironment, TcpStream, Tunnel, UdpSocket}; + +/// Initialise the default tracing/logging subscriber. +pub fn init_logging() { + nym_bin_common::logging::setup_tracing_logger(); +} use nym_ip_packet_requests::IpPair; use nym_sdk::stream_wrapper::IpMixStream;