ommx 3.0.0-beta.4

Open Mathematical prograMming eXchange (OMMX)
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"
rust-version = "1.89"
name = "ommx"
version = "3.0.0-beta.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Open Mathematical prograMming eXchange (OMMX)"
documentation = "https://docs.rs/ommx/"
readme = "README.md"
keywords = [
    "optimization",
    "ommx",
]
categories = [
    "data-structures",
    "mathematics",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Jij-Inc/ommx"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/rust-{ version }/{ name }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
disabled-strategies = ["quick-install"]

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
built = ["dep:built"]
cli = ["dep:tracing-subscriber"]
default = ["remote-artifact"]
remote-artifact = [
    "dep:docker_credential",
    "dep:futures-util",
    "dep:http",
    "dep:oci-client",
    "dep:tokio",
    "built",
]

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

[[bin]]
name = "ommx"
path = "src/bin/ommx.rs"
required-features = [
    "remote-artifact",
    "built",
    "cli",
]

[[example]]
name = "create_artifact"
path = "examples/create_artifact.rs"
required-features = [
    "remote-artifact",
    "built",
    "cli",
]

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

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

[[example]]
name = "pull_artifact"
path = "examples/pull_artifact.rs"
required-features = [
    "remote-artifact",
    "cli",
]

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.approx]
version = "0.5.1"

[dependencies.base64]
version = "0.23.0"

[dependencies.chrono]
version = "0.4.43"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.colored]
version = "3.1.1"

[dependencies.csv]
version = "1.3.0"

[dependencies.derive_more]
version = "2.1.1"
features = ["full"]

[dependencies.directories]
version = "6.0.0"

[dependencies.docker_credential]
version = "1.4.0"
optional = true

[dependencies.filetime]
version = "0.2.27"

[dependencies.flate2]
version = "1.1.8"

[dependencies.fnv]
version = "1.0.7"

[dependencies.futures-util]
version = "0.3.32"
features = ["std"]
optional = true
default-features = false

[dependencies.getset]
version = "0.1.6"

[dependencies.http]
version = "1.4.0"
optional = true

[dependencies.indexmap]
version = "2.14.0"

[dependencies.infer]
version = "0.22.0"

[dependencies.itertools]
version = "0.15.0"

[dependencies.katexit]
version = "0.1.5"

[dependencies.maplit]
version = "1.0.2"

[dependencies.num]
version = "0.4.3"

[dependencies.oci-client]
version = "0.17.0"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.oci-spec]
version = "0.9.0"

[dependencies.ommx-derive]
version = "=3.0.0-beta.4"

[dependencies.ordered-float]
version = "5.1.0"
features = ["serde"]

[dependencies.petgraph]
version = "0.8.3"

[dependencies.proptest]
version = "1.8.0"

[dependencies.prost]
version = "0.12.0"

[dependencies.rmpv]
version = "1.3.0"

[dependencies.rusqlite]
version = "0.39.0"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sha2]
version = "0.11.0"

[dependencies.similar]
version = "3.1.1"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.tar]
version = "0.4.46"
default-features = false

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "time",
    "net",
    "io-util",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]
optional = true

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.23.1"
features = ["v4"]

[dependencies.zstd]
version = "0.13.3"

[dev-dependencies.colored]
version = "3.1.1"

[dev-dependencies.criterion]
version = "2.8.0"
package = "codspeed-criterion-compat"

[dev-dependencies.indoc]
version = "2.0.6"

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

[dev-dependencies.serial_test]
version = "4.0.1"

[dev-dependencies.testcontainers]
version = "0.27.3"
features = ["blocking"]

[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = ["cncf_distribution"]

[build-dependencies.built]
version = "0.8.1"
features = ["git2"]
optional = true

[lints.clippy]
approx_constant = "allow"