Skip to content

Commit

Permalink
Export symbol Exif.
Browse files Browse the repository at this point in the history
  • Loading branch information
mindeng committed Feb 23, 2024
1 parent 7901045 commit ca7b83c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nom-exif"
version = "1.0.1"
version = "1.1.1"
edition = "2021"
license-file = "LICENSE"
description = "Exif/metadata parsing library written in pure Rust, both JPEG/HEIF/HEIC images and MOV/MP4 videos are supported."
Expand Down
2 changes: 1 addition & 1 deletion src/exif/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Exif {
.transpose()
}

pub fn get_tz_offset(&self) -> Option<String> {
fn get_tz_offset(&self) -> Option<String> {
let values = self.get_values(&[ExifTag::OffsetTimeOriginal, ExifTag::OffsetTime]);
values.into_iter().find_map(|x| {
if let EntryValue::Text(s) = x.1 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub use heif::parse_heif_exif;
pub use jpeg::parse_jpeg_exif;
pub use mov::{parse_metadata, parse_mov_metadata};

pub use exif::ExifTag;
pub use exif::{Exif, ExifTag};
pub use values::EntryValue;

pub use error::Error;
Expand Down

0 comments on commit ca7b83c

Please sign in to comment.