Skip to content

Commit e8fe06a

Browse files
committed
Version 2.0
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.
1 parent 21c7f22 commit e8fe06a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ordered-float"
3-
version = "1.1.0"
3+
version = "2.0.0"
44
authors = ["Jonathan Reem <jonathan.reem@gmail.com>", "Matt Brubeck <mbrubeck@limpet.net>"]
55
license = "MIT"
66
description = "Wrappers for total ordering on floats"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ with the rest of your dependencies:
99

1010
```toml
1111
[dependencies]
12-
ordered-float = "1.0"
12+
ordered-float = "2.0"
1313
```
1414

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

0 commit comments

Comments
 (0)