Mark parse_image() deprecated.
This commit is contained in:
parent
2893059568
commit
1d5d9fdd38
|
@ -41,6 +41,7 @@ use tiff::Field;
|
|||
///
|
||||
/// The `buf` must be an empty `Vec<u8>` when this function is called.
|
||||
/// The raw Exif data is read into it.
|
||||
#[deprecated(since = "0.1.2", note = "use `exif::Reader` instead")]
|
||||
pub fn parse_image<'a, R>(mut reader: &mut R, mut buf: &'a mut Vec<u8>)
|
||||
-> Result<(Vec<Field<'a>>, bool), Error>
|
||||
where R: io::BufRead
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
//! ```
|
||||
|
||||
pub use error::Error;
|
||||
#[allow(deprecated)]
|
||||
pub use image::parse_image;
|
||||
pub use jpeg::get_exif_attr as get_exif_attr_from_jpeg;
|
||||
pub use reader::Reader;
|
||||
|
|
Loading…
Reference in New Issue