# 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 = "pounce-cli"
version = "0.3.0"
authors = ["John Kitchin <jkitchin@andrew.cmu.edu>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line driver for POUNCE — solves built-in TNLPs and AMPL .nl files."
readme = "README.md"
keywords = [
    "ipopt",
    "cli",
    "ampl",
    "nlp",
    "optimization",
]
categories = [
    "mathematics",
    "command-line-utilities",
    "science",
]
license = "EPL-2.0"
repository = "https://github.com/jkitchin/pounce"

[features]
default = []
ma57 = [
    "dep:pounce-hsl",
    "pounce-algorithm/ma57",
]

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

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

[[bin]]
name = "pounce_sens"
path = "src/bin/pounce_sens.rs"

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

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

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

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

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

[dependencies.anstream]
version = "0.6"

[dependencies.anstyle]
version = "1"

[dependencies.libloading]
version = "0.8"

[dependencies.pounce-algorithm]
version = "0.3.0"

[dependencies.pounce-common]
version = "0.3.0"

[dependencies.pounce-feral]
version = "0.3.0"

[dependencies.pounce-hsl]
version = "0.3.0"
optional = true

[dependencies.pounce-linalg]
version = "0.3.0"

[dependencies.pounce-linsol]
version = "0.3.0"

[dependencies.pounce-nlp]
version = "0.3.0"
features = ["serde"]

[dependencies.pounce-observability]
version = "0.3.0"

[dependencies.pounce-presolve]
version = "0.3.0"

[dependencies.pounce-restoration]
version = "0.3.0"

[dependencies.pounce-sensitivity]
version = "0.3.0"

[dependencies.pounce-solve-report]
version = "0.3.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.tracing]
version = "0.1"

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
