2014-04-30 20:05:14 -07: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.
|
|
|
|
|
|
|
|
//! The Rust core library
|
|
|
|
|
|
|
|
#![crate_id = "core#0.11-pre"]
|
|
|
|
#![license = "MIT/ASL2"]
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
|
|
|
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
|
|
|
html_root_url = "http://static.rust-lang.org/doc/master")]
|
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![feature(globs, macro_rules, managed_boxes)]
|
|
|
|
#![deny(missing_doc)]
|
2014-04-30 20:04:56 -07:00
|
|
|
|
2014-04-30 22:14:22 -07:00
|
|
|
pub mod num;
|
|
|
|
|
2014-04-30 20:04:56 -07:00
|
|
|
/* Core modules for ownership management */
|
|
|
|
|
2014-04-30 20:20:44 -07:00
|
|
|
pub mod cast;
|
2014-04-30 20:04:56 -07:00
|
|
|
pub mod intrinsics;
|
2014-04-30 20:13:05 -07:00
|
|
|
pub mod mem;
|
2014-04-30 20:17:50 -07:00
|
|
|
pub mod ptr;
|
2014-04-30 20:22:55 -07:00
|
|
|
|
|
|
|
/* Core language traits */
|
|
|
|
|
2014-04-30 21:55:14 -07:00
|
|
|
pub mod cmp;
|
2014-04-30 20:22:55 -07:00
|
|
|
pub mod kinds;
|
2014-04-30 20:24:32 -07:00
|
|
|
pub mod ops;
|
2014-04-30 20:26:12 -07:00
|
|
|
pub mod ty;
|
2014-04-30 20:55:38 -07:00
|
|
|
pub mod clone;
|
2014-04-30 20:46:51 -07:00
|
|
|
pub mod default;
|
2014-04-30 20:27:26 -07:00
|
|
|
pub mod container;
|
2014-04-30 20:33:08 -07:00
|
|
|
|
|
|
|
/* Core types and methods on primitives */
|
|
|
|
|
2014-04-30 20:50:56 -07:00
|
|
|
mod unit;
|
2014-04-30 20:36:58 -07:00
|
|
|
pub mod any;
|
2014-04-30 21:11:17 -07:00
|
|
|
pub mod bool;
|
2014-04-30 20:34:41 -07:00
|
|
|
pub mod finally;
|
2014-04-30 21:41:03 -07:00
|
|
|
pub mod iter;
|
2014-04-30 21:35:56 -07:00
|
|
|
pub mod option;
|
2014-04-30 20:38:31 -07:00
|
|
|
pub mod raw;
|
2014-04-30 20:33:08 -07:00
|
|
|
pub mod char;
|
2014-04-30 21:02:13 -07:00
|
|
|
pub mod tuple;
|