No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann c84a8604e0
Releasing fastforward version 5.3.0-2~ffwd13+u1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-08-07 11:23:09 +02:00
.github/workflows Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
debian Releasing fastforward version 5.3.0-2~ffwd13+u1. 2026-08-07 11:23:09 +02:00
src Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
tests Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
.cargo_vcs_info.json Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
.gitignore Adding upstream version 4.6.0. 2026-08-07 11:21:38 +02:00
Cargo.lock Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
Cargo.toml Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
Cargo.toml.orig Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
LICENSE-MIT Adding upstream version 4.6.0. 2026-08-07 11:21:38 +02:00
README.md Merging upstream version 5.3.0. 2026-08-07 11:21:54 +02:00
rustfmt.toml Adding upstream version 4.6.0. 2026-08-07 11:21:38 +02:00

ordered-float

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

no_std

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

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

If you still want to have access to the Pow and Float traits, enable the libm feature.

Optional features

The following optional features can be enabled in Cargo.toml:

  • libm: When not using the std feature, enable the libm feature of num-traits to still access the Pow and Float traits.
  • arbitrary: Implements the arbitrary::Arbitrary trait.
  • borsh: Adds implementations for traits provided by the borsh crate.
  • bytemuck: Adds implementations for traits provided by the bytemuck crate.
  • derive-visitor: Adds implementations for traits provided by the derive-visitor crate.
  • num-cmp: Implements the num_cmp::NumCmp trait.
  • proptest: Implements the proptest::Arbitrary trait.
  • rand: Adds implementations for various distribution types provided by the rand crate.
  • rkyv_16: Implements rkyv's Archive, Serialize and Deserialize traits with size_16.
  • rkyv_32: Implements rkyv's Archive, Serialize and Deserialize traits with size_32.
  • rkyv_64: Implements rkyv's Archive, Serialize and Deserialize traits with size_64.
  • rkyv_ck: Implements the bytecheck::CheckBytes trait.
  • schemars: Implements the schemars::JsonSchema trait.
  • serde: Implements the serde::Serialize and serde::Deserialize traits.
  • speedy: Implements speedy's Readable and Writable traits.

License

MIT