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:
OGINO Masanori 2014-02-03 17:13:08 +09:00
parent 7db6bca7aa
commit fdb820a1be
4 changed files with 8 additions and 2 deletions

View File

@ -49,7 +49,7 @@
# automatically generated for all stage/host/target combinations. # 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 HOST_CRATES := syntax rustc rustdoc
CRATES := $(TARGET_CRATES) $(HOST_CRATES) CRATES := $(TARGET_CRATES) $(HOST_CRATES)
TOOLS := compiletest rustdoc rustc TOOLS := compiletest rustdoc rustc
@ -66,6 +66,7 @@ DEPS_flate := std native:miniz
DEPS_arena := std extra DEPS_arena := std extra
DEPS_glob := std DEPS_glob := std
DEPS_term := std DEPS_term := std
DEPS_semver := std
TOOL_DEPS_compiletest := extra green rustuv TOOL_DEPS_compiletest := extra green rustuv
TOOL_DEPS_rustdoc := rustdoc green rustuv TOOL_DEPS_rustdoc := rustdoc green rustuv

View File

@ -40,6 +40,7 @@ li {list-style-type: none; }
* [The `arena` allocation library](arena/index.html) * [The `arena` allocation library](arena/index.html)
* [The `flate` compression library](flate/index.html) * [The `flate` compression library](flate/index.html)
* [The `glob` file path matching library](glob/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) * [The `term` terminal-handling library](term/index.html)
# Tooling # Tooling

View File

@ -78,7 +78,6 @@ pub mod rational;
#[path="num/complex.rs"] #[path="num/complex.rs"]
pub mod complex; pub mod complex;
pub mod stats; pub mod stats;
pub mod semver;
pub mod hex; pub mod hex;
pub mod uuid; pub mod uuid;

View File

@ -28,6 +28,11 @@
//! An example version number with all five components is //! An example version number with all five components is
//! `0.8.1-rc.3.0+20130922.linux`. //! `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::char;
use std::cmp; use std::cmp;
use std::option::{Option, Some, None}; use std::option::{Option, Some, None};