Skip to content

Commit

Permalink
Merge pull-request #504
Browse files Browse the repository at this point in the history
  • Loading branch information
r-n-o committed Feb 28, 2025
2 parents 16243e6 + a4cc07b commit dd7508b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/qos_net/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#[cfg(feature = "proxy")]
use qos_net::cli::CLI;

#[cfg(feature = "proxy")]
pub fn main() {
CLI::execute();
}


#[cfg(not(feature = "proxy"))]
pub fn main() {
panic!("Cannot run qos_net CLI without proxy feature enabled")
}

0 comments on commit dd7508b

Please sign in to comment.