gecko-dev/third_party/rust/ordered-float
Nathan Froyd b93bf873ba Bug 1502964 - part 2 - update winapi to froydnj/winapi-rs#aarch64; r=ted.mielczarek 2018-11-02 10:56:08 -04:00
..
src Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
tests Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
.cargo-checksum.json Bug 1502964 - part 2 - update winapi to froydnj/winapi-rs#aarch64; r=ted.mielczarek 2018-11-02 10:56:08 -04:00
Cargo.toml Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
LICENSE-MIT Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
README.md Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00

README.md

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:

[dependencies]
ordered-float = "1.0"

See the API documentation for further details.

no_std

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

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

License

MIT