update for stdlib

This commit is contained in:
TyOverby 2015-01-28 13:01:11 -08:00
parent 85d4147c50
commit 5952c3adb0
4 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bincode" name = "bincode"
version = "0.0.7" version = "0.0.8"
authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"] authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"]
repository = "https://github.com/TyOverby/bincode" repository = "https://github.com/TyOverby/bincode"
@ -11,4 +11,4 @@ license = "MIT"
description = "A binary serialization / deserialization strategy and implementation." description = "A binary serialization / deserialization strategy and implementation."
[dependencies] [dependencies]
rustc-serialize = "0.2.7" rustc-serialize = "0.2.10"

View File

@ -6,7 +6,7 @@
extern crate "rustc-serialize" as rustc_serialize; extern crate "rustc-serialize" as rustc_serialize;
use std::io::{Buffer, MemWriter}; use std::old_io::{Buffer, MemWriter};
use rustc_serialize::{Encodable, Decodable}; use rustc_serialize::{Encodable, Decodable};
pub use writer::{EncoderWriter, EncodingResult, EncodingError}; pub use writer::{EncoderWriter, EncodingResult, EncodingError};
@ -47,8 +47,8 @@ mod reader;
///! ```rust ///! ```rust
///! #![allow(unstable)] ///! #![allow(unstable)]
///! extern crate bincode; ///! extern crate bincode;
///! use std::io::pipe::PipeStream; ///! use std::old_io::pipe::PipeStream;
///! use std::io::BufferedReader; ///! use std::old_io::BufferedReader;
///! fn main() { ///! fn main() {
///! // The pipes that we will be using to send values across. ///! // The pipes that we will be using to send values across.
///! let streams = PipeStream::pair().unwrap(); ///! let streams = PipeStream::pair().unwrap();

View File

@ -1,4 +1,4 @@
use std::io::{Buffer, Reader, IoError}; use std::old_io::{Buffer, Reader, IoError};
use std::num::{cast, NumCast}; use std::num::{cast, NumCast};
use std::error::{Error, FromError}; use std::error::{Error, FromError};
use std::fmt; use std::fmt;

View File

@ -1,4 +1,4 @@
use std::io::{Writer, IoError}; use std::old_io::{Writer, IoError};
use std::error::Error; use std::error::Error;
use std::num::Int; use std::num::Int;
use std::fmt; use std::fmt;