[package]
edition = "2024"
name = "pounce-cinterface"
version = "0.11.0"
authors = ["John Kitchin <jkitchin@andrew.cmu.edu>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C ABI for POUNCE (port of Ipopt's Interfaces/IpStdCInterface.{h,cpp}). Provides CreateIpoptProblem / IpoptSolve / FreeIpoptProblem so existing PyIpopt / cyipopt / JuMP / AMPL clients link without source changes. Feature-complete for the upstream Ipopt C ABI surface."
readme = "README.md"
keywords = [
"ipopt",
"c-api",
"ffi",
"nlp",
"optimization",
]
categories = [
"mathematics",
"external-ffi-bindings",
"api-bindings",
]
license = "EPL-2.0"
repository = "https://github.com/jkitchin/pounce"
[features]
ma57 = [
"dep:pounce-hsl",
"pounce-algorithm/ma57",
]
[lib]
name = "pounce_cinterface"
crate-type = [
"lib",
"cdylib",
]
path = "src/lib.rs"
[[test]]
name = "current_iterate_inspectors"
path = "tests/current_iterate_inspectors.rs"
[[test]]
name = "header_abi"
path = "tests/header_abi.rs"
[[test]]
name = "lbfgs_never_calls_eval_h"
path = "tests/lbfgs_never_calls_eval_h.rs"
[[test]]
name = "nonlinear_variables_mask"
path = "tests/nonlinear_variables_mask.rs"
[[test]]
name = "restoration_callback"
path = "tests/restoration_callback.rs"
[[test]]
name = "warm_start_iterate"
path = "tests/warm_start_iterate.rs"
[dependencies.pounce-algorithm]
version = "0.11.0"
[dependencies.pounce-common]
version = "0.11.0"
[dependencies.pounce-hsl]
version = "0.11.0"
optional = true
[dependencies.pounce-linsol]
version = "0.11.0"
[dependencies.pounce-nlp]
version = "0.11.0"
[dependencies.pounce-observability]
version = "0.11.0"
[dependencies.pounce-qp]
version = "0.11.0"
[dependencies.pounce-restoration]
version = "0.11.0"
[dependencies.pounce-sensitivity]
version = "0.11.0"
[dependencies.pounce-solve-report]
version = "0.11.0"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"