[dependencies.approx-derive]
features = ["infer_name"]
version = "0.2.8"
[dependencies.indexmap]
default-features = false
optional = true
version = "2.12.1"
[dependencies.num-complex]
optional = true
version = "0.4.6"
[dependencies.num-traits]
default-features = false
version = "0.2.19"
[dependencies.ordered-float]
optional = true
version = "5.0"
[dependencies.paste]
optional = true
version = "1.0.15"
[features]
array_impl = []
default = ["std", "derive"]
derive = []
indexmap_impl = ["dep:indexmap"]
std = []
tuple_impl = ["paste"]
vec_impl = []
[lib]
name = "approxim"
path = "src/lib.rs"
[package]
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Approximate floating point equality comparisons and assertions."
documentation = "https://docs.rs/approxim"
edition = "2021"
homepage = "https://github.com/jonaspleyer/approxim"
keywords = ["approximimate", "assert", "comparison", "equality", "float"]
license = "Apache-2.0"
name = "approxim"
readme = "README.md"
repository = "https://github.com/jonaspleyer/approxim"
version = "0.6.10"
[package.metadata.docs.rs]
features = ["std", "num-complex", "array_impl", "tuple_impl", "ordered-float"]
[[test]]
name = "abs_diff_eq"
path = "tests/abs_diff_eq.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "macro_import"
path = "tests/macro_import.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "relative_eq"
path = "tests/relative_eq.rs"
[[test]]
name = "ulps_eq"
path = "tests/ulps_eq.rs"