Skip to content

Commit 1675fe1

Browse files
committed
Revert "remove dependency to cmd_lib_core"
This reverts commit 68e00a1.
1 parent 633766a commit 1675fe1

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

src/lib.rs

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
pub use cmd_lib_core;
2-
pub use cmd_lib_macros;
1+
use cmd_lib_core;
2+
use cmd_lib_macros;
33

4-
#[macro_export]
5-
macro_rules! run_cmd {
6-
($($cur:tt)*) => {{
7-
use $crate::cmd_lib_core;
8-
$crate::cmd_lib_macros::run_cmd!($($cur)*)
9-
}};
10-
}
11-
12-
#[macro_export]
13-
macro_rules! run_fun {
14-
($($cur:tt)*) => {{
15-
use $crate::cmd_lib_core;
16-
$crate::cmd_lib_macros::run_fun!($($cur)*)
17-
}};
18-
}
4+
pub use cmd_lib_macros::{
5+
run_cmd,
6+
run_fun,
7+
};
198

209
pub use cmd_lib_core::{
2110
run_cmd,

0 commit comments

Comments
 (0)