Skip to content

Commit c9065c7

Browse files
committed
api: Hide runtime_error behind cli feature
1 parent 4718a52 commit c9065c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ mod utils;
66
pub mod app;
77
#[cfg(feature = "cli")]
88
pub mod args;
9+
#[cfg(feature = "cli")]
10+
pub mod runtime_error;
911

1012
/// The main program.
1113
#[cfg(feature = "cli")]
@@ -27,7 +29,6 @@ pub mod data_tree;
2729
pub mod fs_tree_builder;
2830
pub mod os_string_display;
2931
pub mod reporter;
30-
pub mod runtime_error;
3132
pub mod size;
3233
pub mod size_getters;
3334
pub mod status_board;

0 commit comments

Comments
 (0)