kamadak / exif-rs

Exif parsing library written in pure Rust
BSD 2-Clause "Simplified" License
198 stars 44 forks source link

what's Reader type serving? #27

Closed djdisodo closed 1 year ago

djdisodo commented 1 year ago

seems like Reader type doesn't hold anything i would like to see functions without &self requirements

kamadak commented 1 year ago

It will hold some parsing options in the future versions.

Could you elaborate on your "without &self" use case? The return type from Reader::read_from_container (for example) does not borrow anything from Reader, so I do not see why &self could be a problem.