2014-06-28 15:57:36 -05:00
|
|
|
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
2015-01-07 20:53:58 -06:00
|
|
|
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(as_unsafe_cell)]
|
|
|
|
#![feature(borrow_state)]
|
2015-01-07 20:53:58 -06:00
|
|
|
#![feature(box_syntax)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(cell_extras)]
|
2015-05-29 08:42:32 -05:00
|
|
|
#![feature(const_fn)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(core)]
|
|
|
|
#![feature(core_float)]
|
2015-09-20 11:34:33 -05:00
|
|
|
#![feature(core_private_bignum)]
|
|
|
|
#![feature(core_private_diy_float)]
|
2015-08-29 11:30:05 -05:00
|
|
|
#![feature(dec2flt)]
|
|
|
|
#![feature(decode_utf16)]
|
|
|
|
#![feature(fixed_size_array)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(float_extras)]
|
2015-04-18 01:45:55 -05:00
|
|
|
#![feature(float_from_str_radix)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(flt2dec)]
|
|
|
|
#![feature(fmt_radix)]
|
|
|
|
#![feature(iter_arith)]
|
|
|
|
#![feature(iter_arith)]
|
|
|
|
#![feature(iter_cmp)]
|
|
|
|
#![feature(iter_order)]
|
|
|
|
#![feature(libc)]
|
|
|
|
#![feature(nonzero)]
|
|
|
|
#![feature(num_bits_bytes)]
|
2015-12-02 19:31:49 -06:00
|
|
|
#![feature(peekable_is_empty)]
|
2015-06-10 15:33:52 -05:00
|
|
|
#![feature(ptr_as_ref)]
|
|
|
|
#![feature(rand)]
|
|
|
|
#![feature(range_inclusive)]
|
|
|
|
#![feature(raw)]
|
|
|
|
#![feature(slice_bytes)]
|
|
|
|
#![feature(slice_patterns)]
|
|
|
|
#![feature(step_by)]
|
|
|
|
#![feature(test)]
|
|
|
|
#![feature(unboxed_closures)]
|
|
|
|
#![feature(unicode)]
|
|
|
|
#![feature(unique)]
|
2015-12-02 19:07:29 -06:00
|
|
|
#![feature(clone_from_slice)]
|
2014-06-28 15:57:36 -05:00
|
|
|
|
|
|
|
extern crate core;
|
|
|
|
extern crate test;
|
|
|
|
extern crate libc;
|
deprecate Unicode functions that will be moved to crates.io
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
2015-04-14 14:52:37 -05:00
|
|
|
extern crate rustc_unicode;
|
2015-04-19 00:19:54 -05:00
|
|
|
extern crate rand;
|
2014-06-28 15:57:36 -05:00
|
|
|
|
|
|
|
mod any;
|
2015-08-29 11:30:05 -05:00
|
|
|
mod array;
|
2014-08-04 17:42:36 -05:00
|
|
|
mod atomic;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod cell;
|
|
|
|
mod char;
|
2015-10-15 14:07:20 -05:00
|
|
|
mod clone;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod cmp;
|
|
|
|
mod fmt;
|
2014-12-12 20:43:07 -06:00
|
|
|
mod hash;
|
2015-10-15 14:07:20 -05:00
|
|
|
mod intrinsics;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod iter;
|
|
|
|
mod mem;
|
2014-12-23 14:52:02 -06:00
|
|
|
mod nonzero;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod num;
|
|
|
|
mod ops;
|
|
|
|
mod option;
|
|
|
|
mod ptr;
|
|
|
|
mod result;
|
2014-08-06 22:48:25 -05:00
|
|
|
mod slice;
|
2014-08-18 20:43:43 -05:00
|
|
|
mod str;
|
2014-06-28 15:57:36 -05:00
|
|
|
mod tuple;
|