diff options
| author | bors <bors@rust-lang.org> | 2015-04-18 07:09:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-18 07:09:22 +0000 |
| commit | 7a5754b330e78e2ab5a2682a16f53f4f9fe96ed7 (patch) | |
| tree | c0927d6a5cb22ddf889674b6f7f0fbd978890b32 /src/libstd/lib.rs | |
| parent | 77213d1b28b307401d2bbb143168418bf7e6794c (diff) | |
| parent | 29d1252e4d2126318d7f622505ed76dd1e8e4edc (diff) | |
| download | rust-7a5754b330e78e2ab5a2682a16f53f4f9fe96ed7.tar.gz rust-7a5754b330e78e2ab5a2682a16f53f4f9fe96ed7.zip | |
Auto merge of #24428 - kwantam:deprecate_unicode_fns, r=alexcrichton
This patch 1. renames libunicode to librustc_unicode, 2. deprecates several pieces of libunicode (see below), and 3. removes references to deprecated functions from librustc_driver and libsyntax. This may change pretty-printed output from these modules in cases involving wide or combining characters used in filenames, identifiers, etc. The following functions are marked deprecated: 1. char.width() and str.width(): --> use unicode-width crate 2. str.graphemes() and str.grapheme_indices(): --> use unicode-segmentation crate 3. str.nfd_chars(), str.nfkd_chars(), str.nfc_chars(), str.nfkc_chars(), char.compose(), char.decompose_canonical(), char.decompose_compatible(), char.canonical_combining_class(): --> use unicode-normalization crate
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index b2bcbaa7b1c..4452a4457ac 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -151,7 +151,7 @@ extern crate collections as core_collections; #[allow(deprecated)] extern crate rand as core_rand; extern crate alloc; -extern crate unicode; +extern crate rustc_unicode; extern crate libc; #[macro_use] #[no_link] extern crate rustc_bitflags; @@ -196,7 +196,7 @@ pub use core_collections::string; #[stable(feature = "rust1", since = "1.0.0")] pub use core_collections::vec; -pub use unicode::char; +pub use rustc_unicode::char; /* Exported macros */ |
