Skip to content
Snippets Groups Projects
Commit b4e7748b authored by Éloïs's avatar Éloïs
Browse files

[feat] durs: plug module ws2p v2+

parent 879cdfdd
Branches
Tags
1 merge request!151Resolve "Allow several network modules"
...@@ -39,7 +39,7 @@ use structopt::StructOpt; ...@@ -39,7 +39,7 @@ use structopt::StructOpt;
#[cfg(unix)] #[cfg(unix)]
pub use durs_tui::TuiModule; pub use durs_tui::TuiModule;
//pub use durs_skeleton::SkeletonModule; //pub use durs_skeleton::SkeletonModule;
//pub use durs_ws2p::WS2PModule; pub use durs_ws2p::WS2PModule;
pub use durs_ws2p_v1_legacy::WS2Pv1Module; pub use durs_ws2p_v1_legacy::WS2Pv1Module;
/// Durs cli main macro /// Durs cli main macro
...@@ -62,7 +62,7 @@ macro_rules! durs_cli_main { ...@@ -62,7 +62,7 @@ macro_rules! durs_cli_main {
#[cfg(not(target_arch = "arm"))] #[cfg(not(target_arch = "arm"))]
fn main() { fn main() {
durs_cli_main!(durs_plug!( durs_cli_main!(durs_plug!(
[WS2Pv1Module], [WS2Pv1Module, WS2PModule],
[TuiModule /*, SkeletonModule ,DasaModule*/] [TuiModule /*, SkeletonModule ,DasaModule*/]
)) ))
} }
...@@ -70,11 +70,11 @@ fn main() { ...@@ -70,11 +70,11 @@ fn main() {
#[cfg(target_arch = "arm")] #[cfg(target_arch = "arm")]
fn main() { fn main() {
durs_cli_main!(durs_plug!( durs_cli_main!(durs_plug!(
[WS2Pv1Module], [WS2Pv1Module, WS2PModule],
[TuiModule /*, SkeletonModule*/] [TuiModule /*, SkeletonModule*/]
)) ))
} }
#[cfg(windows)] #[cfg(windows)]
fn main() { fn main() {
durs_cli_main!(durs_plug!([WS2Pv1Module], [])) durs_cli_main!(durs_plug!([WS2Pv1Module, WS2PModule], []))
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment