[package] name = "coin_cbc" version = "0.1.8" authors = ["Kardinal "] 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"]