Use crates inside `build.rs` build scripts.
Section: Dependencies
Add build dependencies
toml
toml
[build-dependencies]
cc = "1"Explanation
Build dependencies are only available to the build script.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Dependencies