Prechádzať zdrojové kódy

Finish update and bump version number

Alex Crichton 10 rokov pred
rodič
commit
ce93a10ed0
2 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 2 2
      Cargo.toml
  2. 1 0
      src/lib.rs

+ 2 - 2
Cargo.toml

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

+ 1 - 0
src/lib.rs

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