//! provide for basic string-related manipulations. This crate does not
//! (yet) aim to provide a full set of Unicode tables.
-// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
-#![cfg_attr(stage0, feature(custom_attribute))]
#![crate_name = "rustc_unicode"]
#![unstable(feature = "unicode", issue = "27783")]
-#![staged_api]
#![crate_type = "rlib"]
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
#![no_std]
#![feature(core_char_ext)]
-#![feature(core_slice_ext)]
-#![feature(core_str_ext)]
#![feature(lang_items)]
-#![feature(no_std)]
#![feature(staged_api)]
mod tables;
#[allow(deprecated)]
pub mod str {
pub use u_str::{UnicodeStr, SplitWhitespace};
- pub use u_str::{utf8_char_width, is_utf16, Utf16Items, Utf16Item};
- pub use u_str::{utf16_items, Utf16Encoder};
+ pub use u_str::{utf8_char_width, is_utf16};
+ pub use u_str::{Utf16Encoder};
}
// For use in libcollections, not re-exported in libstd.