Skip to content

Commit 905d556

Browse files
authored
Merge pull request #47 from mbrubeck/unfork
Merge changes from "new-ordered-float" fork
2 parents b27bbd4 + 0329480 commit 905d556

File tree

6 files changed

+1268
-296
lines changed

6 files changed

+1268
-296
lines changed

Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[package]
2-
32
name = "ordered-float"
4-
version = "0.5.0"
5-
authors = ["Jonathan Reem <jonathan.reem@gmail.com>"]
3+
version = "1.0.0"
4+
authors = ["Jonathan Reem <jonathan.reem@gmail.com>", "Matt Brubeck <mbrubeck@limpet.net>"]
65
license = "MIT"
7-
description = "Wrappers for total ordering on floats."
6+
description = "Wrappers for total ordering on floats"
87
repository = "https://github.com/reem/rust-ordered-float"
8+
readme = "README.md"
99

1010
[dependencies]
11-
num-traits = { version = "0.1", default_features = false }
11+
num-traits = "0.2"
1212
serde = { version = "1.0", optional = true }
13-
unreachable = "0.1"
13+
unreachable = "1"
1414

1515
[dev-dependencies]
16-
stainless = "0.1"
1716
serde_test = "1.0"

LICENSE-MIT

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Copyright (c) 2015 Jonathan Reem
2+
3+
Permission is hereby granted, free of charge, to any
4+
person obtaining a copy of this software and associated
5+
documentation files (the "Software"), to deal in the
6+
Software without restriction, including without
7+
limitation the rights to use, copy, modify, merge,
8+
publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software
10+
is furnished to do so, subject to the following
11+
conditions:
12+
13+
The above copyright notice and this permission notice
14+
shall be included in all copies or substantial portions
15+
of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25+
DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

33
Provides several wrapper types for Ord and Eq implementations on f64.
44

5-
See `src/lib.rs` for documentation and details.
5+
## Usage
66

7-
## License
7+
Use the crates.io repository; add this to your `Cargo.toml` along
8+
with the rest of your dependencies:
89

9-
MIT
10+
```toml
11+
[dependencies]
12+
ordered-float = "1.0"
13+
```
1014

11-
## Tools
15+
See the [API documentation](https://docs.rs/ordered-float) for further details.
1216

13-
Built using Cargo
14-
Tested using Stainless
17+
## License
1518

19+
MIT

0 commit comments

Comments
 (0)