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
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Rust 1.12 or later is required to build.
|
Rust 1.15 or later is required to build.
|
||||||
|
|
||||||
Specifications
|
Specifications
|
||||||
--------------
|
--------------
|
||||||
|
|
|
@ -109,7 +109,6 @@ pub fn is_jpeg(buf: &[u8]) -> bool {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use std::io::Cursor;
|
use std::io::Cursor;
|
||||||
use error::Error;
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -105,7 +105,6 @@ impl Reader {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use std::io::BufReader;
|
use std::io::BufReader;
|
||||||
use tiff::Field;
|
|
||||||
use value::Value;
|
use value::Value;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,6 @@ impl DateTime {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use error::Error;
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
// Before the error is returned, the IFD is parsed twice as the
|
// 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 {
|
mod tests {
|
||||||
use endian::BigEndian;
|
use endian::BigEndian;
|
||||||
use super::*;
|
use super::*;
|
||||||
use super::parse_short;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn byte() {
|
fn byte() {
|
||||||
|
|
Loading…
Reference in New Issue