Cargo Features

[dependencies]
or-tools = { version = "0.1.0", default-features = false, features = ["build-native", "solver-all", "solver-all-nonfree", "solver-clp", "solver-cp-sat", "solver-cplex", "solver-glop", "solver-glpk", "solver-highs", "solver-pdlp", "solver-scip", "solver-xpress"] }
default = solver-all

The solver-all feature is set by default whenever or-tools is added without default-features = false somewhere in the dependency tree.

build-native = or-tools-sys

Google Or-Tools Builder

solver-all default = solver-cbc, solver-clp, solver-cp-sat, solver-glop, solver-pdlp, solver-scip

Solvers

solver-all-nonfree = solver-cplex, solver-glpk, solver-highs, solver-xpress
solver-cbc solver-clp solver-all

Enables solver-coinor of optional or-tools-sys

solver-cp-sat solver-all
solver-cplex solver-all-nonfree?

Enables solver-cplex of optional or-tools-sys

solver-glop solver-all
solver-glpk solver-all-nonfree?

Enables solver-glpk of optional or-tools-sys

solver-highs solver-all-nonfree?

Enables solver-highs of optional or-tools-sys

solver-pdlp solver-all
solver-scip solver-all

Enables solver-scip of optional or-tools-sys

solver-xpress solver-all-nonfree?

Enables solver-xpress of optional or-tools-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

or-tools-sys build-native?