gecko-dev/third_party/rust/ordered-float
Emilio Cobos Álvarez 77f2e53394 Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02: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 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
.cargo_vcs_info.json Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02:00
.travis.yml Bug 1491577 - Revendor rust dependencies. r=me 2018-09-15 19:25:49 +02: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