Make all modules feature-gated to improve compile time

This commit is contained in:
2025-06-26 16:54:58 +10:00
parent 2078dd0d8e
commit 31b5ff5ab9
6 changed files with 50 additions and 87 deletions

View File

@@ -1,5 +1,10 @@
pub mod chan;
pub mod fs;
pub mod net;
pub mod runtime;
#[cfg(feature = "task")]
pub mod chan;
#[cfg(feature = "fs")]
pub mod fs;
#[cfg(feature = "net")]
pub mod net;
#[cfg(feature = "task")]
pub mod task;