# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "approxim"
version = "0.6.7"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Approximate floating point equality comparisons and assertions."
homepage = "https://github.com/jonaspleyer/approxim"
documentation = "https://docs.rs/approxim"
readme = "README.md"
keywords = [
    "approximimate",
    "assert",
    "comparison",
    "equality",
    "float",
]
license = "Apache-2.0"
repository = "https://github.com/jonaspleyer/approxim"

[package.metadata.docs.rs]
features = [
    "std",
    "num-complex",
    "array_impl",
    "tuple_impl",
    "ordered-float",
]

[features]
array_impl = []
default = [
    "std",
    "derive",
]
derive = []
std = []
tuple_impl = ["paste"]

[lib]
name = "approxim"
path = "src/lib.rs"

[[test]]
name = "abs_diff_eq"
path = "tests/abs_diff_eq.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"

[dependencies.approx-derive]
version = "0.2.7"
features = ["infer_name"]

[dependencies.num-complex]
version = "0.4.6"
optional = true

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

[dependencies.ordered-float]
version = "5.0"
optional = true

[dependencies.paste]
version = "1.0.15"
optional = true
