Skip to content

Commit

Permalink
lib: tidy up module declarations
Browse files Browse the repository at this point in the history
This was bothering me as I was doing something else

Organize these in some sane manner:

- Non-feature-gated modules, sorted
- Then feature-gated modules, grouped and sorted by feature name

Signed-off-by: John Eckersberg <[email protected]>
  • Loading branch information
jeckersb committed Dec 16, 2024
1 parent bd8727e commit 3cebedb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,28 @@ mod boundimage;
pub mod cli;
pub(crate) mod deploy;
pub(crate) mod generator;
mod glyph;
mod image;
mod imgstorage;
pub(crate) mod journal;
mod k8sapitypes;
pub(crate) mod kargs;
mod lints;
mod lsm;
pub(crate) mod metadata;
mod podman;
mod progress_jsonl;
mod reboot;
mod reexec;
pub mod spec;
mod status;
mod store;
mod task;
mod utils;

#[cfg(feature = "docgen")]
mod docgen;

#[cfg(feature = "install")]
mod blockdev;
#[cfg(feature = "install")]
Expand All @@ -29,16 +38,7 @@ mod bootloader;
mod containerenv;
#[cfg(feature = "install")]
mod install;
mod k8sapitypes;
#[cfg(feature = "install")]
mod kernel;
#[cfg(feature = "install")]
pub(crate) mod mount;
mod podman;
pub mod spec;

#[cfg(feature = "docgen")]
mod docgen;
mod glyph;
mod imgstorage;
mod progress_jsonl;

0 comments on commit 3cebedb

Please sign in to comment.