Skip to content

Commit 8abe784

Browse files
committed
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
1 parent ffc1118 commit 8abe784

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/libgetopts/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
//! ```
8080
8181
#![crate_name = "getopts"]
82-
#![experimental]
82+
#![experimental = "use the crates.io `getopts` library instead"]
8383
#![crate_type = "rlib"]
8484
#![crate_type = "dylib"]
8585
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

src/liblog/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
//! if logging is disabled, none of the components of the log will be executed.
159159
160160
#![crate_name = "log"]
161-
#![experimental]
161+
#![experimental = "use the crates.io `log` library instead"]
162162
#![crate_type = "rlib"]
163163
#![crate_type = "dylib"]
164164
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

src/libregex/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
#![crate_name = "regex"]
363363
#![crate_type = "rlib"]
364364
#![crate_type = "dylib"]
365-
#![experimental]
365+
#![experimental = "use the crates.io `regex` library instead"]
366366
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
367367
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
368368
html_root_url = "http://doc.rust-lang.org/nightly/",

src/libregex_macros/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
#![crate_name = "regex_macros"]
1515
#![crate_type = "dylib"]
16-
#![experimental]
16+
#![experimental = "use the crates.io `regex_macros` library instead"]
1717
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
1818
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
1919
html_root_url = "http://doc.rust-lang.org/nightly/")]

0 commit comments

Comments
 (0)