From 005844dd862e252f17e39be6fcb7a63bcf7cef09 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Fri, 13 Sep 2024 06:56:20 +0100 Subject: [PATCH] Rename the module with `Orientation` struct to `metadata` --- src/lib.rs | 4 ++-- src/{orientation.rs => metadata.rs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{orientation.rs => metadata.rs} (100%) diff --git a/src/lib.rs b/src/lib.rs index d3862fb7e0..0d6a6cb497 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -172,7 +172,7 @@ pub use crate::image_reader::{ImageReader, LimitSupport, Limits}; pub use crate::dynimage::DynamicImage; pub use crate::animation::{Delay, Frame, Frames}; -pub use crate::orientation::Orientation; +pub use crate::metadata::Orientation; // More detailed error type pub mod error; @@ -290,7 +290,7 @@ mod color; mod dynimage; mod image; mod image_reader; -mod orientation; +mod metadata; //TODO delete this module after a few releases /// deprecated io module the original io module has been renamed to `image_reader` pub mod io { diff --git a/src/orientation.rs b/src/metadata.rs similarity index 100% rename from src/orientation.rs rename to src/metadata.rs