diff --git a/Cargo.toml b/Cargo.toml index e37d337..df1c313 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ categories = [ "algorithms", "science" ] license = "MIT/Apache-2.0" repository = "https://github.com/rust-num/num-traits" name = "num-traits" -version = "0.2.0-pre" +version = "0.2.0" readme = "README.md" [dependencies] diff --git a/README.md b/README.md index 5f0c236..7381dfe 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![crate](https://img.shields.io/crates/v/num-traits.svg)](https://crates.io/crates/num-traits) [![documentation](https://docs.rs/num-traits/badge.svg)](https://docs.rs/num-traits) +![minimum rustc 1.8](https://img.shields.io/badge/rustc-1.8+-red.svg) [![Travis status](https://travis-ci.org/rust-num/num-traits.svg?branch=master)](https://travis-ci.org/rust-num/num-traits) Numeric traits for generic mathematics in Rust. diff --git a/RELEASES.md b/RELEASES.md index b82bce6..d2bc774 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,20 @@ +# Release 0.2.0 + +- **breaking change**: There is now a `std` feature, enabled by default, along + with the implication that building *without* this feature makes this a + `#[no_std]` crate. + - The `Float` and `Real` traits are only available when `std` is enabled. + - Otherwise, the API is unchanged, and num-traits 0.1.43 now re-exports its + items from num-traits 0.2 for compatibility (the [semver-trick]). + +**Contributors**: @cuviper, @termoshtt, @vks + +[semver-trick]: https://github.com/dtolnay/semver-trick + +# Release 0.1.43 + +- All items are now re-exported from num-traits 0.2 for compatibility. + # Release 0.1.42 - [num-traits now has its own source repository][num-356] at [rust-num/num-traits][home]. diff --git a/src/lib.rs b/src/lib.rs index ef96e5c..a388fd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,6 +9,10 @@ // except according to those terms. //! Numeric traits for generic mathematics +//! +//! ## Compatibility +//! +//! The `num-traits` crate is tested for rustc 1.8 and greater. #![doc(html_root_url = "https://docs.rs/num-traits/0.2")]