summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-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::*;
+}