diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-06 11:35:08 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-08-01 07:55:49 -0700 |
| commit | dc93d368634b77c27565e9da4f7d4927847d066e (patch) | |
| tree | 7ccece1339a59632d9b7748c0565fbcae175b797 | |
| parent | dfb640907f7713e7cb155fa030feb433e8ef319d (diff) | |
| download | meson-dc93d368634b77c27565e9da4f7d4927847d066e.tar.gz | |
cargo: typing: add missing fields
Add a few fields to "package" that support workspace inheritance.
Complete the Workspace dictionary.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/cargo/raw.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/cargo/raw.py b/mesonbuild/cargo/raw.py index f20fc0ef7..fded59f7f 100644 --- a/mesonbuild/cargo/raw.py +++ b/mesonbuild/cargo/raw.py @@ -25,6 +25,9 @@ Package = TypedDict( 'license-file': str, 'keywords': T.List[str], 'categories': T.List[str], + 'homepage': str, + 'repository': str, + 'documentation': str, 'workspace': str, 'build': str, 'links': str, @@ -122,6 +125,8 @@ class Workspace(TypedDict): members: T.List[str] exclude: T.List[str] + package: Package + dependencies: T.Dict[str, DependencyV] Manifest = TypedDict( |
