From 0a8ee65507c0a03a15d4f835707ff083df1d0338 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 23 Apr 2015 14:00:30 +0200 Subject: [PATCH 1/2] Remove deprecated re-exports. Using #[deprecated] is now an error outside of the standard library. --- src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 59ab693d..cadfa1ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -228,10 +228,6 @@ pub use self::types::{CodecError, ByteWriter, StringWriter, EncoderTrapFunc, DecoderTrapFunc, DecoderTrap, EncoderTrap, decode}; // reexport -// XXX gah rust-lang/rust#15702 -#[deprecated = "use encoding::RawEncoder instead"] pub use self::types::RawEncoder as Encoder; -#[deprecated = "use encoding::RawDecoder instead"] pub use self::types::RawDecoder as Decoder; - #[macro_use] mod util; #[cfg(test)] #[macro_use] mod testutils; From ef52a9f64a2426b8a83468fae0e3399ae0b2fc90 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 23 Apr 2015 14:00:58 +0200 Subject: [PATCH 2/2] Remove #[unstable] on the codec module. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s now an error outside of the standard library. --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cadfa1ef..e93993ad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -234,7 +234,6 @@ pub use self::types::{CodecError, ByteWriter, StringWriter, pub mod types; /// Codec implementations. -#[unstable] pub mod codec { pub mod error; pub mod ascii;