about summary refs log tree commit diff
path: root/src/libnum
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-09-16 10:39:08 -0700
committerAaron Turon <aturon@mozilla.com>2014-09-16 11:29:29 -0700
commit2ff07af996ca4cfe65bb0d00b6aa1d0134e557d2 (patch)
tree273aaaeee11c7724c5abd5680c9eba2d80a26c10 /src/libnum
parent946654a721d6fd5eeb91e93293cdc2cba83c78b9 (diff)
downloadrust-2ff07af996ca4cfe65bb0d00b6aa1d0134e557d2.tar.gz
rust-2ff07af996ca4cfe65bb0d00b6aa1d0134e557d2.zip
Deprecate libnum in favor of rust-lang/num
This is part of the migration of crates into the Cargo ecosystem. There
is now an external repository https://github.com/rust-lang/num for bignums.

The single use of libnum elsewhere in the repository is for a shootout
benchmark, which is being moved into the external crate.

Due to deprecation, this is a:

[breaking-change]
Diffstat (limited to 'src/libnum')
-rw-r--r--src/libnum/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs
index f12279b20e8..43fe82ee899 100644
--- a/src/libnum/lib.rs
+++ b/src/libnum/lib.rs
@@ -46,7 +46,9 @@
 #![feature(default_type_params)]
 
 #![crate_name = "num"]
-#![experimental]
+#![deprecated = "This is now a cargo package located at: \
+                 https://github.com/rust-lang/num"]
+#![allow(deprecated)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![license = "MIT/ASL2"]