about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-13 14:18:44 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-13 14:18:44 -0800
commit8abe7846d6c32bf06fd8bb79d76e658b6770bd7b (patch)
treef2b6c874af826514ed61cb562e3596a939ab8242
parentffc111889e93bcd38222d9d74a70fdc26a78fcb5 (diff)
downloadrust-8abe7846d6c32bf06fd8bb79d76e658b6770bd7b.tar.gz
rust-8abe7846d6c32bf06fd8bb79d76e658b6770bd7b.zip
Deprecate more in-tree libs for crates.io
This commit deprecates a few more in-tree libs for their crates.io counterparts.
Note that this commit does not make use of the #[deprecated] tag to prevent
warnings from being generated for in-tree usage. Once #[unstable] warnings are
turned on then all external users will be warned to move.

These crates have all been duplicated in rust-lang/$crate repositories so
development can happen independently of the in-tree copies. We can explore at a
later date replacing the in-tree copies with the external copies, but at this
time the libraries have changed very little over the past few months so it's
unlikely for changes to be sent to both repos.

cc #19260
-rw-r--r--src/libgetopts/lib.rs2
-rw-r--r--src/liblog/lib.rs2
-rw-r--r--src/libregex/lib.rs2
-rw-r--r--src/libregex_macros/lib.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs
index b809138c451..a5a84b22c19 100644
--- a/src/libgetopts/lib.rs
+++ b/src/libgetopts/lib.rs
@@ -79,7 +79,7 @@
 //! ```
 
 #![crate_name = "getopts"]
-#![experimental]
+#![experimental = "use the crates.io `getopts` library instead"]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 8b79078eac6..498fa2b5e74 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -158,7 +158,7 @@
 //! if logging is disabled, none of the components of the log will be executed.
 
 #![crate_name = "log"]
-#![experimental]
+#![experimental = "use the crates.io `log` library instead"]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
diff --git a/src/libregex/lib.rs b/src/libregex/lib.rs
index b35c3879783..2d64aac6f79 100644
--- a/src/libregex/lib.rs
+++ b/src/libregex/lib.rs
@@ -362,7 +362,7 @@
 #![crate_name = "regex"]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
-#![experimental]
+#![experimental = "use the crates.io `regex` library instead"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/",
diff --git a/src/libregex_macros/lib.rs b/src/libregex_macros/lib.rs
index 4df88197743..11976b11c7e 100644
--- a/src/libregex_macros/lib.rs
+++ b/src/libregex_macros/lib.rs
@@ -13,7 +13,7 @@
 
 #![crate_name = "regex_macros"]
 #![crate_type = "dylib"]
-#![experimental]
+#![experimental = "use the crates.io `regex_macros` library instead"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/")]