|
|
@ -37,10 +37,11 @@ pub mod services; |
|
|
|
pub mod srv; |
|
|
|
pub mod srv; |
|
|
|
pub mod thread; |
|
|
|
pub mod thread; |
|
|
|
|
|
|
|
|
|
|
|
#[cfg(all(feature = "romfs", romfs_exists))] |
|
|
|
cfg_if::cfg_if! { |
|
|
|
pub mod romfs; |
|
|
|
if #[cfg(all(feature = "romfs", romfs_exists))] { |
|
|
|
#[cfg(not(all(feature = "romfs", romfs_exists)))] |
|
|
|
pub mod romfs; |
|
|
|
pub mod romfs { |
|
|
|
} else { |
|
|
|
|
|
|
|
pub mod romfs { |
|
|
|
//! The RomFS folder has not been detected and/or the `romfs` feature has not been enabled.
|
|
|
|
//! The RomFS folder has not been detected and/or the `romfs` feature has not been enabled.
|
|
|
|
//!
|
|
|
|
//!
|
|
|
|
//! Configure the path in Cargo.toml (the default path is "romfs"). Paths are relative to the
|
|
|
|
//! Configure the path in Cargo.toml (the default path is "romfs"). Paths are relative to the
|
|
|
@ -51,6 +52,8 @@ pub mod romfs { |
|
|
|
//! [package.metadata.cargo-3ds]
|
|
|
|
//! [package.metadata.cargo-3ds]
|
|
|
|
//! romfs_dir = "romfs"
|
|
|
|
//! romfs_dir = "romfs"
|
|
|
|
//! ```
|
|
|
|
//! ```
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
pub use crate::error::{Error, Result}; |
|
|
|
pub use crate::error::{Error, Result}; |
|
|
|