Cargo Features
cpp_build has no features set by default.
[dependencies]
cpp_build = { version = "0.5.10", features = ["docs-only", "parallel"] }
-
docs-only
-
Ignore compilations error of the C++ code when building the documentation, as the docs.rs server might not have the required libraries
-
parallel
-
Enables
parallel
of
cc