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:
Nick Mathewson 2023-07-12 15:09:34 +00:00
commit a3604e7e81
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}