summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-27 15:46:02 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-27 16:26:33 -0800
commitd79e91033770fc5a760d34511769f5ba6c872c77 (patch)
tree60ef39b796d50c156148af7d7d5e466c87c6424c /src/libstd
parentbd0d8e47e53f25bbd50418a0f117973c366c1b08 (diff)
downloadrust-d79e91033770fc5a760d34511769f5ba6c872c77.tar.gz
rust-d79e91033770fc5a760d34511769f5ba6c872c77.zip
std: Deprecated the `old_io::extensions` module
The `u64_from_be_bytes` and `u64_to_be_bytes` functions are being deprecated
with no replacement for now.

[breaking-change]
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/old_io/extensions.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/old_io/extensions.rs b/src/libstd/old_io/extensions.rs
index 8bd19f063f0..45a86a9fde7 100644
--- a/src/libstd/old_io/extensions.rs
+++ b/src/libstd/old_io/extensions.rs
@@ -11,6 +11,10 @@
 //! Utility mixins that apply to all Readers and Writers
 
 #![allow(missing_docs)]
+#![unstable(feature = "old_io")]
+#![deprecated(since = "1.0.0",
+              reason = "functionality will be removed with no immediate \
+                        replacement")]
 
 // FIXME: Not sure how this should be structured
 // FIXME: Iteration should probably be considered separately