cargo-manifest
Rust Build dependencies
Declare a dependency needed by the host-side build script rather than the application. The local library provides a prefix for generated text. Example format: toml. Run in a disposable copy of v16/fixtures/projects/build-demo. Expected result (not executed): The build script can call label_maker::label; the app uses only generated text. Common mistake: Assuming build dependencies are automatically available in application code.
Formal Syntax & Structure
rust syntaxrust
[build-dependencies]Working Example
Example Snippetrust
[build-dependencies]label-maker = { path = "label-maker" }