Merge branch 'arti-client-doc-test' into 'main'
arti-client: Only run BridgesConfig doc test if pt-client feature is enabled. Closes #843 See merge request tpo/core/arti!1166
This commit is contained in:
commit
6e157a5389
|
@ -219,9 +219,10 @@ impl StorageConfig {
|
|||
/// if you want a working configuration.
|
||||
///
|
||||
/// ```
|
||||
/// ##[cfg(feature = "pt-client")]
|
||||
/// # fn demo() -> anyhow::Result<()> {
|
||||
/// use arti_client::config::{TorClientConfig, BridgeConfigBuilder, CfgPath};
|
||||
/// // Requires that the pt-config feature is enabled.
|
||||
/// // Requires that the pt-client feature is enabled.
|
||||
/// use arti_client::config::pt::ManagedTransportConfigBuilder;
|
||||
///
|
||||
/// let mut builder = TorClientConfig::builder();
|
||||
|
|
Loading…
Reference in New Issue