Documentation
# 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 = "mps"
version = "1.0.1"
authors = ["David Cox <david@integrated-reasoning.com>"]
build = false
include = [
    "src/**/*",
    "test/**/*",
    "Cargo.*",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast MPS parser"
homepage = "https://integrated-reasoning.com/"
documentation = "https://docs.rs/mps"
readme = "README.md"
keywords = [
    "optimization",
    "linear-programming",
    "parser",
    "nom",
    "math",
]
categories = [
    "parser-implementations",
    "mathematics",
    "encoding",
    "science",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/integrated-reasoning/mps/"

[package.metadata.cargo-all-features]
denylist = ["trace"]
always_include_features = [
    "cli",
    "insta",
]
max_combination_size = 4

[features]
cli = ["dep:clap"]
default = ["insta"]
insta = ["serde"]
serde = ["serde/serde_derive"]
trace = ["nom-tracable/trace"]

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

[[bin]]
name = "mps"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.color-eyre]
version = "0.6"

[dependencies.fast-float2]
version = "0.2"

[dependencies.hashbrown]
version = "0.15"
features = ["serde"]

[dependencies.indexmap]
version = "2.0"
features = ["serde"]

[dependencies.nom]
version = "7.1"

[dependencies.nom-tracable]
version = "0.9"

[dependencies.nom_locate]
version = "4.2"

[dependencies.serde]
version = "1.0"
features = ["serde_derive"]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.41"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1.6"
features = [
    "timeout",
    "std",
]

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3