Skip to content

Commit dd7508b

Browse files
committed
Merge pull-request #504
2 parents 16243e6 + a4cc07b commit dd7508b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/qos_net/src/main.rs

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
#[cfg(feature = "proxy")]
12
use qos_net::cli::CLI;
23

4+
#[cfg(feature = "proxy")]
35
pub fn main() {
46
CLI::execute();
57
}
8+
9+
10+
#[cfg(not(feature = "proxy"))]
11+
pub fn main() {
12+
panic!("Cannot run qos_net CLI without proxy feature enabled")
13+
}
14+

0 commit comments

Comments
 (0)