|
|
|
@ -37,9 +37,10 @@ pub mod services;
@@ -37,9 +37,10 @@ pub mod services;
|
|
|
|
|
pub mod srv; |
|
|
|
|
pub mod thread; |
|
|
|
|
|
|
|
|
|
#[cfg(all(feature = "romfs", romfs_exists))] |
|
|
|
|
cfg_if::cfg_if! { |
|
|
|
|
if #[cfg(all(feature = "romfs", romfs_exists))] { |
|
|
|
|
pub mod romfs; |
|
|
|
|
#[cfg(not(all(feature = "romfs", romfs_exists)))] |
|
|
|
|
} else { |
|
|
|
|
pub mod romfs { |
|
|
|
|
//! The RomFS folder has not been detected and/or the `romfs` feature has not been enabled.
|
|
|
|
|
//!
|
|
|
|
@ -52,6 +53,8 @@ pub mod romfs {
@@ -52,6 +53,8 @@ pub mod romfs {
|
|
|
|
|
//! romfs_dir = "romfs"
|
|
|
|
|
//! ```
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pub use crate::error::{Error, Result}; |
|
|
|
|
|
|
|
|
|