Skip to content

Commit be0c8fb

Browse files
committed
rollup merge of rust-lang#19820: alexcrichton/deprecate-some-more-libs
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 rust-lang#19260
2 parents 5294ceb + 8abe784 commit be0c8fb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/libgetopts/lib.rs

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

src/liblog/lib.rs

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

src/libregex/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
#![crate_name = "regex"]
365365
#![crate_type = "rlib"]
366366
#![crate_type = "dylib"]
367-
#![experimental]
367+
#![experimental = "use the crates.io `regex` library instead"]
368368
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
369369
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
370370
html_root_url = "http://doc.rust-lang.org/nightly/",

src/libregex_macros/lib.rs

Lines changed: 1 addition & 1 deletion
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)