mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Move semver out of libextra.
Done as a part of #8784. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
7db6bca7aa
commit
fdb820a1be
@ -49,7 +49,7 @@
|
||||
# automatically generated for all stage/host/target combinations.
|
||||
################################################################################
|
||||
|
||||
TARGET_CRATES := std extra green rustuv native flate arena glob term
|
||||
TARGET_CRATES := std extra green rustuv native flate arena glob term semver
|
||||
HOST_CRATES := syntax rustc rustdoc
|
||||
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
|
||||
TOOLS := compiletest rustdoc rustc
|
||||
@ -66,6 +66,7 @@ DEPS_flate := std native:miniz
|
||||
DEPS_arena := std extra
|
||||
DEPS_glob := std
|
||||
DEPS_term := std
|
||||
DEPS_semver := std
|
||||
|
||||
TOOL_DEPS_compiletest := extra green rustuv
|
||||
TOOL_DEPS_rustdoc := rustdoc green rustuv
|
||||
|
@ -40,6 +40,7 @@ li {list-style-type: none; }
|
||||
* [The `arena` allocation library](arena/index.html)
|
||||
* [The `flate` compression library](flate/index.html)
|
||||
* [The `glob` file path matching library](glob/index.html)
|
||||
* [The `semver` version collation library](semver/index.html)
|
||||
* [The `term` terminal-handling library](term/index.html)
|
||||
|
||||
# Tooling
|
||||
|
@ -78,7 +78,6 @@ pub mod rational;
|
||||
#[path="num/complex.rs"]
|
||||
pub mod complex;
|
||||
pub mod stats;
|
||||
pub mod semver;
|
||||
pub mod hex;
|
||||
pub mod uuid;
|
||||
|
||||
|
@ -28,6 +28,11 @@
|
||||
//! An example version number with all five components is
|
||||
//! `0.8.1-rc.3.0+20130922.linux`.
|
||||
|
||||
#[crate_id = "semver#0.10-pre"];
|
||||
#[crate_type = "rlib"];
|
||||
#[crate_type = "dylib"];
|
||||
#[license = "MIT/ASL2"];
|
||||
|
||||
use std::char;
|
||||
use std::cmp;
|
||||
use std::option::{Option, Some, None};
|
Loading…
Reference in New Issue
Block a user