Cargo Features

[dependencies]
strict-num = { version = "0.2.0", default-features = false, features = ["approx-eq", "serde"] }
default = approx-eq

The approx-eq feature is set by default whenever strict-num is added without default-features = false somewhere in the dependency tree.

approx-eq default = float-cmp

Implements ApproxEq and ApproxEqUlps traits for floating point numbers via the float-cmp crate. Disables no_std.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

float-cmp approx-eq

Enables float-cmp ^0.9

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework