浏览代码

Finish update and bump version number

Alex Crichton 10 年之前
父节点
当前提交
ce93a10ed0
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      Cargo.toml
  2. 1 0
      src/lib.rs

+ 2 - 2
Cargo.toml

@@ -1,7 +1,7 @@
 [package]
 
 name = "num"
-version = "0.1.3"
+version = "0.1.4"
 authors = ["The Rust Project Developers"]
 license = "MIT/Apache-2.0"
 homepage = "https://github.com/rust-lang/num"
@@ -14,4 +14,4 @@ rational, and complex types.
 """
 
 [dependencies]
-rustc-serialize = "0.1"
+rustc-serialize = "0.2"

+ 1 - 0
src/lib.rs

@@ -22,6 +22,7 @@
 //! ```
 //! extern crate num;
 //!
+//! use std::num::FromPrimitive;
 //! use num::bigint::BigInt;
 //! use num::rational::{Ratio, BigRational};
 //!