Skip to content

Commit 44b0a24

Browse files
committed
Fork and update metadata
1 parent dc3b2a2 commit 44b0a24

File tree

3 files changed

+51
-11
lines changed

3 files changed

+51
-11
lines changed

Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
[package]
2-
name = "ordered-float"
3-
version = "0.5.0"
4-
authors = ["Jonathan Reem <jonathan.reem@gmail.com>"]
2+
name = "new-ordered-float"
3+
version = "1.0.0"
4+
authors = ["Jonathan Reem <jonathan.reem@gmail.com>", "Matt Brubeck <mbrubeck@limpet.net>"]
55
license = "MIT"
6-
description = "Wrappers for total ordering on floats."
7-
repository = "https://github.com/reem/rust-ordered-float"
6+
description = "Wrappers for total ordering on floats (fork of ordered-float)"
7+
repository = "https://github.com/mbrubeck/rust-ordered-float"
8+
9+
[lib]
10+
name = "ordered_float"
811

912
[dependencies]
1013
num-traits = "0.2"

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: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,26 @@
22

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

5-
See `src/lib.rs` for documentation and details.
5+
This is a fork of https://crates.io/crates/ordered-float
66

7-
## License
7+
## Usage
88

9-
MIT
9+
Use the crates.io repository; add this to your `Cargo.toml` along
10+
with the rest of your dependencies:
11+
12+
```toml
13+
[dependencies]
14+
new-ordered-float = "1.0"
15+
```
16+
17+
In your Rust code, the library name is still `ordered_float`:
1018

11-
## Tools
19+
```rust
20+
extern crate ordered_float;
21+
```
1222

13-
Built using Cargo
14-
Tested using Stainless
23+
See the [API documentation](https://docs.rs/new-ordered-float) for further details.
1524

25+
## License
26+
27+
MIT

0 commit comments

Comments
 (0)