# 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"
name = "chrom-rs"
version = "0.3.0"
build = false
exclude = [
    "tools/*",
    "benches/*",
    "tests/integration/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Liquid chromatography simulator — Langmuir isotherms, numerical solvers (Euler, RK4), CLI and config-file interface"
readme = "README.md"
keywords = [
    "chromatography",
    "simulation",
    "langmuir",
    "numerical",
    "chemistry",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/biface/chromatography"

[package.metadata.coverage]
min-coverage = 80

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "docs/katex-header.html",
]

[features]
beyond_physical_limits = []
default = ["parallel"]
parallel = ["rayon"]

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

[[bin]]
name = "chrom-rs"
path = "src/main.rs"

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

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

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

[[example]]
name = "high_load"
path = "examples/high_load.rs"
required-features = ["beyond_physical_limits"]

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

[[example]]
name = "tfa_single"
path = "examples/tfa.rs"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.dynamic-cli]
version = "0.2.0"

[dependencies.log]
version = "0.4.29"

[dependencies.nalgebra]
version = "0.34.2"
features = ["serde-serialize"]

[dependencies.ndarray]
version = "0.17.2"
features = ["serde"]

[dependencies.num]
version = "0.4.3"

[dependencies.plotters]
version = "0.3"

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.typetag]
version = "0.2"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.cargo-llvm-cov]
version = "0.8.5"

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

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.tempfile]
version = "3.25.0"

[profile.coverage]
opt-level = 0
inherits = "test"
