How to use general zero and one for f32 and f64?

Trait Float has disappeared. How to use any float constants now?

The old num-stuff has moved to its own crate: https://crates.io/crates/num/

Use default-features = false like this with num if you just need the traits. It's a very small dependency that way.

For example:

[dependencies.num]
version = "0.1"
default-features = false