Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
e44c2b9b
R
Rust
项目概览
int
/
Rust
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e44c2b9b
编写于
7月 01, 2014
作者:
A
Alex Crichton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add #[crate_name] attributes as necessary
上级
c956b70d
变更
34
显示空白变更内容
内联
并排
Showing
34 changed file
with
102 addition
and
40 deletion
+102
-40
src/liballoc/lib.rs
src/liballoc/lib.rs
+3
-1
src/libarena/lib.rs
src/libarena/lib.rs
+2
-0
src/libcollections/lib.rs
src/libcollections/lib.rs
+3
-1
src/libcore/lib.rs
src/libcore/lib.rs
+2
-0
src/libdebug/lib.rs
src/libdebug/lib.rs
+3
-1
src/libflate/lib.rs
src/libflate/lib.rs
+3
-1
src/libfmt_macros/lib.rs
src/libfmt_macros/lib.rs
+3
-1
src/libfourcc/lib.rs
src/libfourcc/lib.rs
+3
-1
src/libgetopts/lib.rs
src/libgetopts/lib.rs
+3
-1
src/libglob/lib.rs
src/libglob/lib.rs
+3
-1
src/libgraphviz/lib.rs
src/libgraphviz/lib.rs
+3
-3
src/libgreen/lib.rs
src/libgreen/lib.rs
+5
-5
src/libhexfloat/lib.rs
src/libhexfloat/lib.rs
+3
-1
src/liblibc/lib.rs
src/liblibc/lib.rs
+3
-1
src/liblog/lib.rs
src/liblog/lib.rs
+3
-2
src/libnative/lib.rs
src/libnative/lib.rs
+3
-1
src/libnum/lib.rs
src/libnum/lib.rs
+3
-2
src/librand/lib.rs
src/librand/lib.rs
+3
-1
src/libregex/lib.rs
src/libregex/lib.rs
+3
-1
src/libregex_macros/lib.rs
src/libregex_macros/lib.rs
+3
-1
src/librlibc/lib.rs
src/librlibc/lib.rs
+3
-1
src/librustc/lib.rs
src/librustc/lib.rs
+3
-1
src/librustrt/lib.rs
src/librustrt/lib.rs
+3
-1
src/librustuv/lib.rs
src/librustuv/lib.rs
+3
-1
src/libsemver/lib.rs
src/libsemver/lib.rs
+3
-1
src/libserialize/lib.rs
src/libserialize/lib.rs
+3
-1
src/libstd/lib.rs
src/libstd/lib.rs
+3
-1
src/libsync/lib.rs
src/libsync/lib.rs
+3
-1
src/libsyntax/lib.rs
src/libsyntax/lib.rs
+3
-1
src/libterm/lib.rs
src/libterm/lib.rs
+3
-1
src/libtest/lib.rs
src/libtest/lib.rs
+3
-1
src/libtime/lib.rs
src/libtime/lib.rs
+3
-1
src/liburl/lib.rs
src/liburl/lib.rs
+3
-1
src/libuuid/lib.rs
src/libuuid/lib.rs
+3
-1
未找到文件。
src/liballoc/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -60,7 +60,8 @@
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to
//! the system malloc/free.
#![crate_id
=
"alloc#0.11.0"
]
#![crate_id
=
"alloc#0.11.0"
]
// NOTE: remove after a stage0 snap
#![crate_name
=
"alloc"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -70,6 +71,7 @@
#![no_std]
#![feature(lang_items,
phase,
unsafe_destructor)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[phase(plugin,
link)]
extern
crate
core
;
...
...
src/libarena/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -20,6 +20,7 @@
//! more complex, slower Arena which can hold objects of any type.
#![crate_id
=
"arena#0.11.0"
]
#![crate_name
=
"arena"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -30,6 +31,7 @@
#![feature(unsafe_destructor)]
#![allow(missing_doc)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
cell
::{
Cell
,
RefCell
};
use
std
::
cmp
;
...
...
src/libcollections/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -12,7 +12,8 @@
* Collection types.
*/
#![crate_id
=
"collections#0.11.0"
]
#![crate_id
=
"collections#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"collections"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -24,6 +25,7 @@
#![feature(macro_rules,
managed_boxes,
default_type_params,
phase,
globs)]
#![feature(unsafe_destructor)]
#![no_std]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[phase(plugin,
link)]
extern
crate
core
;
extern
crate
alloc
;
...
...
src/libcore/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -48,6 +48,7 @@
// separate crate, libcoretest, to avoid bizarre issues.
#![crate_id
=
"core#0.11.0"
]
#![crate_name
=
"core"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -60,6 +61,7 @@
#![feature(globs,
intrinsics,
lang_items,
macro_rules,
managed_boxes,
phase)]
#![feature(simd,
unsafe_destructor)]
#![deny(missing_doc)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
mod
macros
;
...
...
src/libdebug/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -16,7 +16,8 @@
//! Additionally, it is not guaranteed that functionality such as reflection
//! will persist into the future.
#![crate_id
=
"debug#0.11.0"
]
#![crate_id
=
"debug#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"debug"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -27,6 +28,7 @@
#![experimental]
#![feature(managed_boxes,
macro_rules)]
#![allow(experimental)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
pub
mod
fmt
;
pub
mod
reflect
;
...
...
src/libflate/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -18,7 +18,8 @@
*/
#![crate_id
=
"flate#0.11.0"
]
#![crate_id
=
"flate#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"flate"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -27,6 +28,7 @@
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
)]
#![feature(phase)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[cfg(test)]
#[phase(plugin,
link)]
extern
crate
log
;
...
...
src/libfmt_macros/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -14,12 +14,14 @@
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are
//! generated instead.
#![crate_id
=
"fmt_macros#0.11.0"
]
#![crate_id
=
"fmt_macros#0.11.0"
]
// NOTE: remove after stage0c
#![crate_name
=
"fmt_macros"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![feature(macro_rules,
globs)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
char
;
use
std
::
str
;
...
...
src/libfourcc/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -39,7 +39,8 @@ fn main() {
*/
#![crate_id
=
"fourcc#0.11.0"
]
#![crate_id
=
"fourcc#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"fourcc"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -47,6 +48,7 @@ fn main() {
#![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://doc.rust-lang.org/0.11.0/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(plugin_registrar,
managed_boxes)]
...
...
src/libgetopts/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -76,7 +76,8 @@
//! }
//! ~~~
#![crate_id
=
"getopts#0.11.0"
]
#![crate_id
=
"getopts#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"getopts"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -87,6 +88,7 @@
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(globs,
phase)]
#![deny(missing_doc)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[cfg(test)]
extern
crate
debug
;
#[cfg(test)]
#[phase(plugin,
link)]
extern
crate
log
;
...
...
src/libglob/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -23,7 +23,8 @@
* `glob`/`fnmatch` functions.
*/
#![crate_id
=
"glob#0.11.0"
]
#![crate_id
=
"glob#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"glob"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -32,6 +33,7 @@
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
cell
::
Cell
;
use
std
::{
cmp
,
os
,
path
};
...
...
src/libgraphviz/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -266,7 +266,8 @@ pub fn main() {
*/
#![crate_id
=
"graphviz#0.11.0"
]
#![crate_id
=
"graphviz#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"graphviz"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -274,8 +275,7 @@ pub fn main() {
#![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://doc.rust-lang.org/0.11.0/"
)]
#![experimental]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
io
;
use
std
::
str
;
...
...
src/libgreen/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -197,7 +197,8 @@
//! pool.shutdown();
//! ```
#![crate_id
=
"green#0.11.0"
]
#![crate_id
=
"green#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"green"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -208,10 +209,9 @@
html_playground_url
=
"http://play.rust-lang.org/"
)]
// NB this does *not* include globs, please keep it that way.
#![feature(macro_rules,
phase)]
#![allow(visible_private_types)]
#![allow(deprecated)]
#![feature(default_type_params)]
#![feature(macro_rules,
phase,
default_type_params)]
#![allow(visible_private_types,
deprecated)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[cfg(test)]
#[phase(plugin,
link)]
extern
crate
log
;
#[cfg(test)]
extern
crate
rustuv
;
...
...
src/libhexfloat/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -36,7 +36,8 @@ fn main() {
*/
#![crate_id
=
"hexfloat#0.11.0"
]
#![crate_id
=
"hexfloat#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"hexfloat"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -45,6 +46,7 @@ fn main() {
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
)]
#![feature(plugin_registrar,
managed_boxes)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
extern
crate
syntax
;
extern
crate
rustc
;
...
...
src/liblibc/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -9,7 +9,8 @@
// except according to those terms.
#![feature(globs)]
#![crate_id
=
"libc#0.11.0"
]
#![crate_id
=
"libc#0.11.0"
]
// NOTE: remove after a stage0 snap
#![crate_name
=
"libc"
]
#![experimental]
#![no_std]
// we don't need std, and we can't have std, since it doesn't exist
// yet. std depends on us.
...
...
@@ -18,6 +19,7 @@
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
/*!
* Bindings for the C standard library and other platform libraries
...
...
src/liblog/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -105,7 +105,8 @@ fn main() {
*/
#![crate_id
=
"log#0.11.0"
]
#![crate_id
=
"log#0.11.0"
]
// NOTE: Remove after stage0
#![crate_name
=
"log"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -114,7 +115,7 @@ fn main() {
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(macro_rules)]
#![deny(missing_doc)]
...
...
src/libnative/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -46,7 +46,8 @@
//! }
//! ```
#![crate_id
=
"native#0.11.0"
]
#![crate_id
=
"native#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"native"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -57,6 +58,7 @@
#![deny(unused_result,
unused_must_use)]
#![allow(non_camel_case_types,
deprecated)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(default_type_params,
lang_items)]
// NB this crate explicitly does *not* allow glob imports, please seriously
...
...
src/libnum/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -44,7 +44,8 @@
#![feature(macro_rules)]
#![crate_id
=
"num#0.11.0"
]
#![crate_id
=
"num#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"num"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -53,7 +54,7 @@
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![allow(deprecated)]
// from_str_radix
extern
crate
rand
;
...
...
src/librand/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -16,7 +16,8 @@
//! is not recommended to use this library directly, but rather the official
//! interface through `std::rand`.
#![crate_id
=
"rand#0.11.0"
]
#![crate_id
=
"rand#0.11.0"
]
// NOTE: remove after a stage0 snap
#![crate_name
=
"rand"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![doc(html_logo_url
=
"http://www.rust-lang.org/logos/rust-logo-128x128-blk.png"
,
...
...
@@ -25,6 +26,7 @@
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
phase,
globs)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![no_std]
#![experimental]
...
...
src/libregex/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -353,7 +353,8 @@
//! characters in the search text and `m` is the number of instructions in a
//! compiled expression.
#![crate_id
=
"regex#0.11.0"
]
#![crate_id
=
"regex#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"regex"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
#![experimental]
...
...
@@ -364,6 +365,7 @@
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
phase)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![deny(missing_doc)]
#[cfg(test)]
...
...
src/libregex_macros/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -11,13 +11,15 @@
//! This crate provides the `regex!` macro. Its use is documented in the
//! `regex` crate.
#![crate_id
=
"regex_macros#0.11.0"
]
#![crate_id
=
"regex_macros#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"regex_macros"
]
#![crate_type
=
"dylib"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![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://doc.rust-lang.org/0.11.0/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(plugin_registrar,
managed_boxes,
quote)]
...
...
src/librlibc/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -20,13 +20,15 @@
//! necessary. It is an error to include this library when also linking with
//! the system libc library.
#![crate_id
=
"rlibc#0.11.0"
]
#![crate_id
=
"rlibc#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"rlibc"
]
#![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://doc.rust-lang.org/0.11.0/"
)]
#![feature(intrinsics)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![no_std]
#![experimental]
...
...
src/librustc/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -18,7 +18,8 @@
*/
#![crate_id
=
"rustc#0.11.0"
]
#![crate_id
=
"rustc#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"rustc"
]
#![experimental]
#![comment
=
"The Rust compiler"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -31,6 +32,7 @@
#![allow(deprecated)]
#![feature(macro_rules,
globs,
struct_variant,
managed_boxes,
quote)]
#![feature(default_type_params,
phase,
unsafe_destructor)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
extern
crate
arena
;
extern
crate
debug
;
...
...
src/librustrt/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -8,7 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_id
=
"rustrt#0.11.0"
]
#![crate_id
=
"rustrt#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"rustrt"
]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -20,6 +21,7 @@
#![feature(linkage,
lang_items,
unsafe_destructor)]
#![no_std]
#![experimental]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[phase(plugin,
link)]
extern
crate
core
;
extern
crate
alloc
;
...
...
src/librustuv/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -34,7 +34,8 @@
*/
#![crate_id
=
"rustuv#0.11.0"
]
#![crate_id
=
"rustuv#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"rustuv"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"rlib"
]
...
...
@@ -47,6 +48,7 @@
#![feature(macro_rules,
unsafe_destructor)]
#![deny(unused_result,
unused_must_use)]
#![allow(visible_private_types)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[cfg(test)]
extern
crate
green
;
#[cfg(test)]
extern
crate
debug
;
...
...
src/libsemver/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -28,7 +28,8 @@
//! An example version number with all five components is
//! `0.8.1-rc.3.0+20130922.linux`.
#![crate_id
=
"semver#0.11.0"
]
#![crate_id
=
"semver#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"semver"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -36,6 +37,7 @@
#![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://doc.rust-lang.org/0.11.0/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
char
;
use
std
::
cmp
;
...
...
src/libserialize/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -14,7 +14,8 @@
Core encoding and decoding interfaces.
*/
#![crate_id
=
"serialize#0.11.0"
]
#![crate_id
=
"serialize#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"serialize"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -24,6 +25,7 @@
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(macro_rules,
managed_boxes,
default_type_params,
phase)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
// test harness access
#[cfg(test)]
...
...
src/libstd/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -94,7 +94,8 @@
//! all the standard macros, such as `assert!`, `fail!`, `println!`,
//! and `format!`, also available to all Rust code.
#![crate_id
=
"std#0.11.0"
]
#![crate_id
=
"std#0.11.0"
]
// NOTE: remove after stage0 snap
#![crate_name
=
"std"
]
#![unstable]
#![comment
=
"The Rust standard library"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -107,6 +108,7 @@
#![feature(macro_rules,
globs,
managed_boxes,
linkage)]
#![feature(default_type_params,
phase,
lang_items,
unsafe_destructor)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
// Don't link to std. We are std.
#![no_std]
...
...
src/libsync/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -17,7 +17,8 @@
//! use this crate specifically. Instead, its functionality is reexported
//! through `std::sync`.
#![crate_id
=
"sync#0.11.0"
]
#![crate_id
=
"sync#0.11.0"
]
// NOTE: remove after stage0 snap
#![crate_name
=
"sync"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -30,6 +31,7 @@
#![feature(phase,
globs,
macro_rules,
unsafe_destructor)]
#![deny(missing_doc)]
#![no_std]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[phase(plugin,
link)]
extern
crate
core
;
extern
crate
alloc
;
...
...
src/libsyntax/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -18,7 +18,8 @@
*/
#![crate_id
=
"syntax#0.11.0"
]
#![crate_id
=
"syntax#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"syntax"
]
#![experimental]
#![license
=
"MIT/ASL2"
]
#![crate_type
=
"dylib"
]
...
...
@@ -30,6 +31,7 @@
#![feature(macro_rules,
globs,
managed_boxes,
default_type_params,
phase)]
#![feature(quote,
unsafe_destructor)]
#![allow(deprecated)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
extern
crate
serialize
;
extern
crate
term
;
...
...
src/libterm/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -38,7 +38,8 @@
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
//! [ti]: https://en.wikipedia.org/wiki/Terminfo
#![crate_id
=
"term#0.11.0"
]
#![crate_id
=
"term#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"term"
]
#![experimental]
#![comment
=
"Simple ANSI color library"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -48,6 +49,7 @@
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(macro_rules,
phase)]
...
...
src/libtest/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -23,7 +23,8 @@
// running tests while providing a base that other test frameworks may
// build off of.
#![crate_id
=
"test#0.11.0"
]
#![crate_id
=
"test#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"test"
]
// NOTE: remove after stage0
#![experimental]
#![comment
=
"Rust internal test library only used by rustc"
]
#![license
=
"MIT/ASL2"
]
...
...
@@ -32,6 +33,7 @@
#![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://doc.rust-lang.org/0.11.0/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(asm,
macro_rules,
phase)]
...
...
src/libtime/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -10,7 +10,8 @@
//! Simple time handling.
#![crate_id
=
"time#0.11.0"
]
#![crate_id
=
"time#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"time"
]
#![experimental]
#![crate_type
=
"rlib"
]
...
...
@@ -21,6 +22,7 @@
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(phase)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#[cfg(test)]
extern
crate
debug
;
#[cfg(test)]
#[phase(plugin,
link)]
extern
crate
log
;
...
...
src/liburl/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -10,7 +10,8 @@
//! Types/fns concerning URLs (see RFC 3986)
#![crate_id
=
"url#0.11.0"
]
#![crate_id
=
"url#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"url"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -20,6 +21,7 @@
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![feature(default_type_params)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
use
std
::
collections
::
HashMap
;
use
std
::
fmt
;
...
...
src/libuuid/lib.rs
浏览文件 @
e44c2b9b
...
...
@@ -54,7 +54,8 @@ fn main() {
*/
#![crate_id
=
"uuid#0.11.0"
]
#![crate_id
=
"uuid#0.11.0"
]
// NOTE: remove after stage0
#![crate_name
=
"uuid"
]
#![experimental]
#![crate_type
=
"rlib"
]
#![crate_type
=
"dylib"
]
...
...
@@ -63,6 +64,7 @@ fn main() {
html_favicon_url
=
"http://www.rust-lang.org/favicon.ico"
,
html_root_url
=
"http://doc.rust-lang.org/0.11.0/"
,
html_playground_url
=
"http://play.rust-lang.org/"
)]
#![allow(unused_attribute)]
// NOTE: remove after stage0
#![feature(default_type_params)]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录