summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-09-20 16:29:11 +0800
committer魏曹先生 <1992414357@qq.com>2025-09-20 16:29:11 +0800
commit89a204dc2a52f26ca0352be0d7708b0aa5e0a6cc (patch)
tree20d639d1b6917e32e731d94a2be918deaf3847bb /src
parenta6b70e36b06460f4167cd65ef43b7e7b3a4a3b08 (diff)
Export crates 1. `cfg_file` 2. `tcp_connection` 3. `string_proc` 4.
`env`
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs27
1 files changed, 24 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7443a54..5bfe2bb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,27 @@
// Feature `cfg_file`
#[cfg(feature = "cfg_file")]
-extern crate cfg_file;
+pub mod cfg_file {
+ extern crate cfg_file;
+ pub use cfg_file::*;
+}
-#[cfg(feature = "cfg_file")]
-pub use cfg_file::*; \ No newline at end of file
+// Feature `tcp_connection`
+#[cfg(feature = "tcp_connection")]
+pub mod tcp_connection {
+ extern crate tcp_connection;
+ pub use tcp_connection::*;
+}
+
+// Feature `string_proc`
+#[cfg(feature = "string_proc")]
+pub mod string_proc {
+ extern crate string_proc;
+ pub use string_proc::*;
+}
+
+// Feature `env`
+#[cfg(feature = "env")]
+pub mod env {
+ extern crate env;
+ pub use env::*;
+}