From a83e3bba751aea184453d467305de807691e2590 Mon Sep 17 00:00:00 2001 From: Tomas Sedovic Date: Thu, 29 Jan 2015 13:40:36 +0100 Subject: [PATCH 1/2] Rename std::io -> std::old_io The new IO, processes, path-handling, etc. are in flux now. The old IO module is renamed to `old_io` in the meantime. --- src/lib.rs | 2 +- tcod-sys/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 86d010a35..e1beaf096 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1045,7 +1045,7 @@ pub enum BackgroundFlag { pub mod system { use std; use std::num::FromPrimitive; - use std::io::fs::PathExtensions; + use std::old_io::fs::PathExtensions; use std::time::Duration; use ffi; use libc::c_char; diff --git a/tcod-sys/build.rs b/tcod-sys/build.rs index 1d5b769d8..cfcf05e1d 100644 --- a/tcod-sys/build.rs +++ b/tcod-sys/build.rs @@ -1,7 +1,7 @@ // TODO(shadower): remove this once the dust settles around path and IO: #![allow(unstable)] -use std::io::{fs, Command}; +use std::old_io::{fs, Command}; use std::os; From 8a16abd87cee2014cd7030bb604f6b63669f7680 Mon Sep 17 00:00:00 2001 From: Tomas Sedovic Date: Thu, 29 Jan 2015 13:44:00 +0100 Subject: [PATCH 2/2] Bump tcod to 0.4.6 and tcod-sys to 2.0.3 --- Cargo.toml | 4 ++-- tcod-sys/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d31880f8..32dfb8236 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tcod" description = "The Rust bindings for the Doryen library (a.k.a. libtcod)." -version = "0.4.5" +version = "0.4.6" homepage = "https://github.com/tomassedovic/tcod-rs" repository = "https://github.com/tomassedovic/tcod-rs" readme = "README.md" @@ -25,7 +25,7 @@ bitflags = "0.1" [dependencies.tcod-sys] path = "tcod-sys" -version = "2.0.2" +version = "2.0.3" # TODO: temporarily disabling debuginfo until this is fixed: # https://github.com/rust-lang/rust/issues/17257 diff --git a/tcod-sys/Cargo.toml b/tcod-sys/Cargo.toml index ecc353d32..ebc8c225b 100644 --- a/tcod-sys/Cargo.toml +++ b/tcod-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tcod-sys" description = "Raw FFI bindings & build script to link against libtcod." -version = "2.0.2" +version = "2.0.3" license = "WTFPL" homepage = "https://github.com/tomassedovic/tcod-rs" repository = "https://github.com/tomassedovic/tcod-rs/tree/master/tcod-sys"