# 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 = "2024"
rust-version = "1.88.0"
name = "eunoia"
version = "1.3.0"
authors = ["Johan Larsson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for creating area-proportional Euler and Venn diagrams"
readme = "README.md"
keywords = [
    "euler",
    "venn",
    "diagram",
    "visualization",
]
categories = [
    "graphics",
    "visualization",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jolars/eunoia"
resolver = "2"

[features]
corpus = []
default = []
parallel = ["dep:rayon"]

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

[[example]]
name = "fit_profile"
path = "examples/fit_profile.rs"

[[example]]
name = "issue45_bench"
path = "examples/issue45_bench.rs"

[[example]]
name = "issue89_bench"
path = "examples/issue89_bench.rs"

[[example]]
name = "label_placement"
path = "examples/label_placement.rs"

[[example]]
name = "nonsmooth_bench"
path = "examples/nonsmooth_bench.rs"

[[example]]
name = "plotting_demo"
path = "examples/plotting_demo.rs"

[[example]]
name = "quality_report"
path = "examples/quality_report.rs"

[[test]]
name = "binding_walkthrough"
path = "tests/binding_walkthrough.rs"

[[test]]
name = "issue89_regression"
path = "tests/issue89_regression.rs"

[[test]]
name = "plotting_integration"
path = "tests/plotting_integration.rs"

[[bench]]
name = "final_tolerance"
path = "benches/final_tolerance.rs"
harness = false
required-features = [
    "corpus",
    "parallel",
]

[[bench]]
name = "initial_layout"
path = "benches/initial_layout.rs"
harness = false
required-features = [
    "corpus",
    "parallel",
]

[dependencies.basin]
version = "0.12"
features = ["nalgebra"]
default-features = false

[dependencies.finitediff]
version = "0.2"

[dependencies.i_overlay]
version = "7"

[dependencies.log]
version = "0.4"
features = ["release_max_level_info"]

[dependencies.nalgebra]
version = "0.34"

[dependencies.num-complex]
version = "0.4"

[dependencies.rand]
version = "0.10"

[dependencies.rayon]
version = "1.10"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.proptest]
version = "1"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(test)"]
