diff --git a/src/lib.rs b/src/lib.rs index 4c1c46f..7f305f6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,12 @@ // You should have received a copy of the GNU General Public License along with // insta-image. If not, see . +//! `insta-image` provides macros for making assertions against image snapshots +//! with [insta](https://insta.rs). +//! +//! Image formats are feature-guarded. See their respective submodules for +//! further documentation. + #[cfg(feature = "png")] mod png; diff --git a/src/compressed_16bpc_rgb.png b/src/png/compressed_16bpc_rgb.png similarity index 100% rename from src/compressed_16bpc_rgb.png rename to src/png/compressed_16bpc_rgb.png diff --git a/src/compressed_16bpc_rgb_interlaced.png b/src/png/compressed_16bpc_rgb_interlaced.png similarity index 100% rename from src/compressed_16bpc_rgb_interlaced.png rename to src/png/compressed_16bpc_rgb_interlaced.png diff --git a/src/compressed_16bpc_rgba.png b/src/png/compressed_16bpc_rgba.png similarity index 100% rename from src/compressed_16bpc_rgba.png rename to src/png/compressed_16bpc_rgba.png diff --git a/src/compressed_8bpc_rgb.png b/src/png/compressed_8bpc_rgb.png similarity index 100% rename from src/compressed_8bpc_rgb.png rename to src/png/compressed_8bpc_rgb.png diff --git a/src/png.rs b/src/png/mod.rs similarity index 100% rename from src/png.rs rename to src/png/mod.rs diff --git a/src/uncompressed_16bpc_rgb.png b/src/png/uncompressed_16bpc_rgb.png similarity index 100% rename from src/uncompressed_16bpc_rgb.png rename to src/png/uncompressed_16bpc_rgb.png