rust/src/libcore/lib.rs

91 lines
2.2 KiB
Rust
Raw Normal View History

2014-04-30 22:05:14 -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.
//! 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 22:04:56 -05:00
mod macros;
#[path = "num/float_macros.rs"] mod float_macros;
#[path = "num/int_macros.rs"] mod int_macros;
#[path = "num/uint_macros.rs"] mod uint_macros;
#[path = "num/int.rs"] pub mod int;
#[path = "num/i8.rs"] pub mod i8;
#[path = "num/i16.rs"] pub mod i16;
#[path = "num/i32.rs"] pub mod i32;
#[path = "num/i64.rs"] pub mod i64;
#[path = "num/uint.rs"] pub mod uint;
#[path = "num/u8.rs"] pub mod u8;
#[path = "num/u16.rs"] pub mod u16;
#[path = "num/u32.rs"] pub mod u32;
#[path = "num/u64.rs"] pub mod u64;
#[path = "num/f32.rs"] pub mod f32;
#[path = "num/f64.rs"] pub mod f64;
pub mod num;
2014-04-30 22:04:56 -05:00
/* Core modules for ownership management */
2014-04-30 22:20:44 -05:00
pub mod cast;
2014-04-30 22:04:56 -05:00
pub mod intrinsics;
2014-04-30 22:13:05 -05:00
pub mod mem;
2014-04-30 22:17:50 -05:00
pub mod ptr;
2014-04-30 22:22:55 -05:00
/* Core language traits */
pub mod cmp;
2014-04-30 22:22:55 -05:00
pub mod kinds;
2014-04-30 22:24:32 -05:00
pub mod ops;
2014-04-30 22:26:12 -05:00
pub mod ty;
2014-04-30 22:55:38 -05:00
pub mod clone;
2014-04-30 22:46:51 -05:00
pub mod default;
2014-04-30 22:27:26 -05:00
pub mod container;
2014-04-30 22:33:08 -05:00
/* Core types and methods on primitives */
mod unicode;
2014-04-30 22:50:56 -05:00
mod unit;
2014-04-30 22:36:58 -05:00
pub mod any;
2014-04-30 23:11:17 -05:00
pub mod bool;
2014-04-30 22:34:41 -05:00
pub mod finally;
2014-04-30 23:41:03 -05:00
pub mod iter;
2014-04-30 23:35:56 -05:00
pub mod option;
2014-04-30 22:38:31 -05:00
pub mod raw;
2014-04-30 22:33:08 -05:00
pub mod char;
pub mod result;
pub mod slice;
pub mod str;
2014-04-30 23:02:13 -05:00
pub mod tuple;
mod failure;
// FIXME: this module should not exist. Once owned allocations are no longer a
// language type, this module can move outside to the owned allocation
// crate.
mod should_not_exist;
mod std {
pub use clone;
pub use cmp;
}