summaryrefslogtreecommitdiffstats
path: root/third_party/rust/ordered-float/README.md
blob: b5e33021bfe238e0c26036678e3946d2ca2d19a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Ordered Floats

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

## Usage

Use the crates.io repository; add this to your `Cargo.toml` along
with the rest of your dependencies:

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

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

## no_std

To use `ordered_float` without requiring the Rust standard library, disable
the default `std` feature:

```toml
[dependencies]
ordered-float = { version = "1.0", default-features = false }
```

## License

MIT