-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
37 lines (32 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "coin_cbc"
version = "0.1.8"
authors = ["Kardinal <guillaume.pinot@kardinal.ai>"]
edition = "2018"
description = "Rust bindings to the CoinOR CBC MILP Solveur using the C API."
documentation = "https://docs.rs/coin_cbc"
repository = "https://github.com/KardinalAI/coin_cbc"
keywords = ["MILP", "MIP", "linear-programming"]
categories = ["api-bindings", "mathematics", "science"]
license = "MIT "
readme = "README.md"
[workspace]
members = ["coin_cbc_sys"]
[features]
default = ["singlethread-cbc"]
# The `singlethread-cbc` feature MUST be activated if this crate is going to be used with
# a cbc dynamic library that has not been explicitly compiled with `-DCBC_THRED_SAFE`.
# For more information, see https://github.com/KardinalAI/coin_cbc/issues/9
singlethread-cbc = ["lazy_static"]
# The cbc-310 feature activates features only available in Coin-OR Cbc version >= 3.10
# Notably, this gives useful methods for interpreting linear problem solutions.
# Using the methods protected by this flag will raise a runtime error when the target system has a version of
# libcbc older than 3.10.
cbc-310 = []
[dependencies]
coin_cbc_sys = { version = "0.1", path = "coin_cbc_sys" }
lazy_static = { version = "1.4", optional = true }
[package.metadata.docs.rs]
# Document all features on docs.rs
all-features = true
rustdoc-args = ["--cfg", "docsrs"]