summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-06 22:10:49 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-06 22:10:49 +0800
commita5e0dcf25dd45685057e0671d0f5dd8d75884266 (patch)
treeba2e809d6f377cdafb1fd520c79d07de00f02f90
parentc412b3188545de5d360480d5ee41d73149723110 (diff)
update: Main library exports
- Update library exports to include new modules - Reorganize import structure
-rw-r--r--src/lib.rs24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4771dcd..8d9de66 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,6 +6,9 @@ pub mod vcs {
pub extern crate vcs_actions;
pub use vcs_actions::*;
+
+ pub extern crate vcs_docs;
+ pub use vcs_docs::*;
}
pub mod system {
@@ -15,6 +18,20 @@ pub mod system {
}
pub mod utils {
+ // Feature `cfg_file`
+ #[cfg(feature = "cfg_file")]
+ pub mod cfg_file {
+ extern crate cfg_file;
+ pub use cfg_file::*;
+ }
+
+ // Feature `data_struct`
+ #[cfg(feature = "data_struct")]
+ pub mod data_struct {
+ extern crate data_struct;
+ pub use data_struct::*;
+ }
+
// Feature `tcp_connection`
#[cfg(feature = "tcp_connection")]
pub mod tcp_connection {
@@ -28,11 +45,4 @@ pub mod utils {
extern crate string_proc;
pub use string_proc::*;
}
-
- // Feature `cfg_file`
- #[cfg(feature = "cfg_file")]
- pub mod cfg_file {
- extern crate cfg_file;
- pub use cfg_file::*;
- }
}