# 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-nlp"
version = "0.3.0"
authors = ["John Kitchin <jkitchin@andrew.cmu.edu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NLP-side glue for POUNCE (port of Ipopt's src/Interfaces): TNLP trait, TNLPAdapter, NLP / IpoptNLP wrappers, return-code enums, IpoptApplication user-facing entry point."
readme = "README.md"
keywords = [
    "nlp",
    "optimization",
    "ipopt",
    "tnlp",
    "nonlinear",
]
categories = [
    "mathematics",
    "science",
    "algorithms",
]
license = "EPL-2.0"
repository = "https://github.com/jkitchin/pounce"

[features]
serde = ["dep:serde"]

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

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

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

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

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

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
