[package]
name = "munsellspace"
version = "1.2.0"
edition = "2021"
authors = ["MunsellSpace Contributors"]
description = "High-precision sRGB to Munsell color space conversion with 100% reference accuracy"
license = "MIT"
repository = "https://github.com/chrisgve/MunsellSpace"
documentation = "https://docs.rs/munsellspace"
homepage = "https://github.com/chrisgve/MunsellSpace"
keywords = ["color", "munsell", "srgb", "color-science", "conversion"]
categories = ["graphics", "science", "algorithms"]
readme = "README.md"
include = [
    "src/**/*",
    "tests/data/srgb-to-munsell.csv",
    "Cargo.toml",
    "README.md",
    "LICENSE"
]

[dependencies]
# Core dependencies for basic functionality
csv = "1.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Tracing for automatic instrumentation
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
thiserror = "1.0"
lazy_static = "1.4"
regex = "1.10"
ordered-float = "4.1"

# Color science and mathematical operations
palette = { version = "0.7", features = ["std", "serializing"] }

# Geometric operations for ISCC-NBS polygon validation and point-in-polygon queries
geo = "0.30"

# Parallel processing for performance
rayon = "1.10"

[dev-dependencies]
approx = "0.5"
csv = "1.3"
proptest = "1.0"
criterion = { version = "0.5", features = ["html_reports"] }

[features]
default = []
cli = ["clap"]

[dependencies.clap]
version = "4.0"
features = ["derive"]
optional = true

# Note: Binary, examples, and benchmarks will be added in future versions

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


[[bin]]
name = "comprehensive_dataset_misses"
path = "investigation/src/comprehensive_dataset_misses.rs"

[[bin]]
name = "wedge_coverage_test"
path = "investigation/src/wedge_coverage_test.rs"

[[bench]]
name = "munsell_conversion_benchmarks"
harness = false

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
opt-level = 3
overflow-checks = false
debug = false
rpath = false

