diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-22 19:14:02 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-22 11:58:30 +0100 |
| commit | c4e012e75aadfd06cbf950914aa5ca549b03cb14 (patch) | |
| tree | 38c8bdde06146ff8c144d5aad7ca49fd1b2e449d /docs/markdown/snippets/cargo-workspace-object.md | |
| parent | ecc8032dcb7cd5fc8c3b8e468818ca235cfa9ff4 (diff) | |
| download | meson-c4e012e75aadfd06cbf950914aa5ca549b03cb14.tar.gz | |
docs: add release notes for rust.workspace()
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/snippets/cargo-workspace-object.md')
| -rw-r--r-- | docs/markdown/snippets/cargo-workspace-object.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/snippets/cargo-workspace-object.md b/docs/markdown/snippets/cargo-workspace-object.md new file mode 100644 index 000000000..c6bc4d4ba --- /dev/null +++ b/docs/markdown/snippets/cargo-workspace-object.md @@ -0,0 +1,13 @@ +## Cargo workspace object + +Meson now is able to parse the toplevel `Cargo.toml` file of the +project when the `workspace()` method of the Rust module is called. +This guarantees that features are resolved according to what is +in the `Cargo.toml` file, and in fact enables configuration of +features for the build. + +The returned object also allows retrieving features and dependencies +for Cargo subprojects. + +While Cargo subprojects remain experimental, the Meson project will +try to keep the workspace object reasonably backwards-compatible. |
