We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4072771 commit fd2abd5Copy full SHA for fd2abd5
up-subscription-cli/src/main.rs
@@ -68,6 +68,8 @@ impl std::error::Error for StartupError {}
68
#[derive(clap::ValueEnum, Clone, Default, Debug)]
69
enum Transport {
70
#[default]
71
+ None,
72
+ #[cfg(feature = "local")]
73
Local,
74
// #[cfg(feature = "mqtt5")]
75
// Mqtt5,
@@ -165,6 +167,7 @@ async fn main() {
165
167
// .inspect_err(|e| panic!("Error setting up Zenoh transport: {}", e.get_message()))
166
168
// .unwrap(),
169
// ),
170
+ Transport::None => None,
171
};
172
173
if transport.is_none() {
0 commit comments