[package]
name = "bundle"
version = "0.7.0-dev"
edition = "2018"
authors = ["Frank Fischer <frank-fischer@shadow-soft.de>"]

[features]
default = []
BLAS = ["rs-blas", "openblas-src"]
crossbeam = ["rs-crossbeam"]
mcf = ["rs-graph", "replace_with"]
serialize = ["serde"]

[dependencies]
either = "^1"
log = "^0.4"
c_str_macro = "^1.0"
cplex-sys = "^0.9"
float-pretty-print = "^0.1"
rs-crossbeam = { version = "^0.8", optional = true, package = "crossbeam" }
threadpool = "^1.7"
num_cpus = "^1.2"
num-traits = "^0.2.8"
rs-blas = { version = "^0.22.0", optional = true, package = "blas" }
rs-graph = { version = "^0.21.0-dev", optional = true, features = ["dimacs"] }
openblas-src = { version = "^0.10", optional = true, features = ["system"], default-features = false }
serde = { version = "^1", optional = true, features = ["derive", "rc"] }
assert_float_eq = "^1.0"
thiserror = "^1.0.19"
replace_with = { version = "^0.1.7", optional = true }

[dev-dependencies]
env_logger = "^0.8"
ordered-float = "^2.0"
better-panic = "^0.2"
rustop = "^1.0.4"

[[example]]
name = "mmcf"
required-features = ["mcf"]

[patch.crates-io]
rs-graph = { path = "../rs-graph" }
