mindeng / nom-exif

Exif/metadata parsing library written in pure Rust, both image (jpeg/heif/heic/jpg/tiff/raf etc.) and video/audio (mov/mp4/3gp/webm/mkv/mka, etc.) files are supported.
https://crates.io/crates/nom-exif
MIT License
47 stars 7 forks source link

Replace printing with tracing #9

Closed xandkar closed 3 months ago

xandkar commented 3 months ago

Fixes #8

xandkar commented 3 months ago

In case you decide to make tracing an optional feature, I did it in a separate branch:

https://github.com/xandkar/nom-exif/tree/sk/make-tracing-optional

It is probably going to be too annoying to work with at this stage, hence not part of this PR :)

xandkar commented 3 months ago

And there's always the possibility to statically disable tracing levels: https://docs.rs/tracing/latest/tracing/level_filters/index.html#compile-time-filters

mindeng commented 3 months ago

I am currently on vacation and may not be able to release a new version for the time being. I will try my best to find an opportunity to release it. Thank you for your brilliant work!

xandkar commented 3 months ago

Thank you, Min!

mindeng commented 3 months ago

@xandkar Version 1.3.0 has been released!