Cleanup imports and require Rust 1.15.
This commit is contained in:
parent
5600fb205f
commit
81b5efa7aa
2
README
2
README
|
@ -22,7 +22,7 @@ Usage
|
|||
Dependencies
|
||||
------------
|
||||
|
||||
Rust 1.12 or later is required to build.
|
||||
Rust 1.15 or later is required to build.
|
||||
|
||||
Specifications
|
||||
--------------
|
||||
|
|
|
@ -109,7 +109,6 @@ pub fn is_jpeg(buf: &[u8]) -> bool {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::io::Cursor;
|
||||
use error::Error;
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -105,7 +105,6 @@ impl Reader {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::io::BufReader;
|
||||
use tiff::Field;
|
||||
use value::Value;
|
||||
use super::*;
|
||||
|
||||
|
|
|
@ -192,7 +192,6 @@ impl DateTime {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use error::Error;
|
||||
use super::*;
|
||||
|
||||
// Before the error is returned, the IFD is parsed twice as the
|
||||
|
|
|
@ -263,7 +263,6 @@ fn parse_unknown<'a>(data: &'a [u8], offset: usize, count: usize)
|
|||
mod tests {
|
||||
use endian::BigEndian;
|
||||
use super::*;
|
||||
use super::parse_short;
|
||||
|
||||
#[test]
|
||||
fn byte() {
|
||||
|
|
Loading…
Reference in New Issue