# 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 = "pmcore"
version = "0.25.2"
authors = [
    "Julián D. Otálvaro <juliandavid347@gmail.com>",
    "Markus Hovd",
    "Michael Neely",
    "Walter Yamada",
]
build = false
exclude = [
    ".github/*",
    ".vscode/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library with the building blocks needed to create new Non-Parametric algorithms and its integration with Pmetrics."
documentation = "https://lapkb.github.io/PMcore/pmcore/"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/LAPKB/PMcore"

[features]
default = []
exa = ["pharmsol/exa"]

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

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

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

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

[[example]]
name = "bimodal_ke"
path = "examples/bimodal_ke/main.rs"

[[example]]
name = "drusano"
path = "examples/drusano/main.rs"

[[example]]
name = "iov"
path = "examples/iov/main.rs"

[[example]]
name = "meta"
path = "examples/meta/main.rs"

[[example]]
name = "neely"
path = "examples/neely/main.rs"

[[example]]
name = "new_iov"
path = "examples/new_iov/main.rs"

[[example]]
name = "theophylline"
path = "examples/theophylline/main.rs"

[[example]]
name = "two_eq_lag"
path = "examples/two_eq_lag/main.rs"

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

[[example]]
name = "vanco_sde"
path = "examples/vanco_sde/main.rs"

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

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

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

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

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

[[bench]]
name = "bimodal_ke"
path = "benches/bimodal_ke.rs"
harness = false

[dependencies.anyhow]
version = "1.0.100"

[dependencies.argmin]
version = "0.11.0"

[dependencies.csv]
version = "1.3.1"

[dependencies.faer]
version = "0.24.0"

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

[dependencies.pharmsol]
version = "=0.26.1"

[dependencies.rand]
version = "0.10.1"

[dependencies.rayon]
version = "1.10.0"

[dependencies.serde]
version = "1.0.188"

[dependencies.serde_json]
version = "1.0.66"

[dependencies.sobol_burley]
version = "0.5.0"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
    "env-filter",
    "fmt",
    "time",
]

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

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

[profile.release]
opt-level = 3
codegen-units = 1
