update byteorder to 1.1 from 0.3

This commit is contained in:
Andrew Poelstra 2017-07-17 15:57:35 +00:00
parent cdff7f15c3
commit 8f7bd858fb
No known key found for this signature in database
GPG Key ID: 4FACF08041655A68
2 changed files with 3 additions and 4 deletions

View File

@ -22,7 +22,7 @@ path = "src/lib.rs"
broken_consensus_code = []
[dependencies]
byteorder = "0.3"
byteorder = "1.1"
num = "0.1"
rand = "0.3"
rust-crypto = "0.2"

View File

@ -27,7 +27,6 @@ pub mod misc;
pub mod patricia_tree;
pub mod uint;
use byteorder;
use std::{error, fmt, io};
/// A trait which allows numbers to act as fixed-size bit arrays
@ -50,8 +49,8 @@ pub trait BitArray {
pub enum Error {
/// An I/O error
Io(io::Error),
/// Order from the `byteorder` crate
ByteOrder(byteorder::Error),
/// Error from the `byteorder` crate
ByteOrder(io::Error),
/// Network magic was not what we expected
BadNetworkMagic(u32, u32),
/// Network message was unrecognized