]> git.lizzy.rs Git - rust.git/commitdiff
Deprecate more in-tree libs for crates.io
authorAlex Crichton <alex@alexcrichton.com>
Sat, 13 Dec 2014 22:18:44 +0000 (14:18 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 13 Dec 2014 22:18:44 +0000 (14:18 -0800)
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

src/libgetopts/lib.rs
src/liblog/lib.rs
src/libregex/lib.rs
src/libregex_macros/lib.rs

index b809138c45179b9ac474be720be0fff03e5a84c2..a5a84b22c1990f8f489374946f9aacfc470bbf19 100644 (file)
@@ -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",
index 8b79078eac6ad1548f53f6434bf22588138ea30b..498fa2b5e744cd3829ac4986776203d9cef293bc 100644 (file)
 //! 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",
index b35c3879783a028f8b125f0a2b78acef74d98386..2d64aac6f7915df8c25c00255c3d6db805c10b9e 100644 (file)
 #![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/",
index 4df8819774319e782e71a96affd38e3fb26aec4a..11976b11c7e66f4094123720fad8b46cde6a1138 100644 (file)
@@ -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/")]