Skip to content

Commit

Permalink
Version 2.0
Browse files Browse the repository at this point in the history
Change log:

* The minimum supported Rust toolchain version has increased from 1.28 to 1.34.
* `NotNan<T>` now implements `TryFrom<T>` instead of `From<T>`.
* `NotNan::unchecked_new` is now a `const fn`.
* `NotNan<T>` and `OrderedFloat<T>` now implement `PartialEq<T>`.
* The deprecated `NotNaN` type alias has been removed.
  • Loading branch information
mbrubeck committed Jul 10, 2020
1 parent 21c7f22 commit e8fe06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ordered-float"
version = "1.1.0"
version = "2.0.0"
authors = ["Jonathan Reem <jonathan.reem@gmail.com>", "Matt Brubeck <mbrubeck@limpet.net>"]
license = "MIT"
description = "Wrappers for total ordering on floats"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ with the rest of your dependencies:

```toml
[dependencies]
ordered-float = "1.0"
ordered-float = "2.0"
```

See the [API documentation](https://docs.rs/ordered-float) for further details.
Expand Down

0 comments on commit e8fe06a

Please sign in to comment.