Merge branch 'channel-experimental-api' into 'main'
Gate builder() behind experimental-api feature See merge request tpo/core/arti!1403
This commit is contained in:
commit
a3604e7e81
|
@ -295,7 +295,7 @@ impl<R: Runtime> ChanMgr<R> {
|
|||
|
||||
/// Obtain a channel builder which can be used to create connections to
|
||||
/// relays directly, bypassing many of the setup processes of [ChanMgr]
|
||||
#[cfg(feature = "experimental")]
|
||||
#[cfg(feature = "experimental-api")]
|
||||
pub fn builder(&self) -> Arc<dyn ChannelFactory + Send + Sync> {
|
||||
Arc::new(self.mgr.channels.builder())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue