about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-03 15:11:44 -0800
committerbors <bors@rust-lang.org>2014-02-03 15:11:44 -0800
commitfde11e7ae5b9b67dfdf23862f60f4ee4dae4910f (patch)
tree72bd687dcfe75e5258146baee470be6ee0ed95f7 /src
parentd42521aa92006a3378c535adec80ae2257bff083 (diff)
parentfdb820a1be9d28220a2e509b1f29e5381516c9ee (diff)
auto merge of #12012 : omasanori/rust/semver, r=alexcrichton
Done as a part of #8784.
Diffstat (limited to 'src')
-rw-r--r--src/doc/index.md1
-rw-r--r--src/libextra/lib.rs1
-rw-r--r--src/libsemver/lib.rs (renamed from src/libextra/semver.rs)5
3 files changed, 6 insertions, 1 deletions
diff --git a/src/doc/index.md b/src/doc/index.md
index 730c9c744f6..a639ca16f35 100644
--- a/src/doc/index.md
+++ b/src/doc/index.md
@@ -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
diff --git a/src/libextra/lib.rs b/src/libextra/lib.rs
index 358dca5e5ac..2c417026065 100644
--- a/src/libextra/lib.rs
+++ b/src/libextra/lib.rs
@@ -83,7 +83,6 @@ pub mod rational;
 #[path="num/complex.rs"]
 pub mod complex;
 pub mod stats;
-pub mod semver;
 pub mod hex;
 pub mod uuid;
 
diff --git a/src/libextra/semver.rs b/src/libsemver/lib.rs
index 0faf4ee664e..01feb1c8c0d 100644
--- a/src/libextra/semver.rs
+++ b/src/libsemver/lib.rs
@@ -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};