Skip to content

Commit dc93d36

Browse files
bonzinidcbaker
authored andcommitted
cargo: typing: add missing fields
Add a few fields to "package" that support workspace inheritance. Complete the Workspace dictionary. Signed-off-by: Paolo Bonzini <[email protected]>
1 parent dfb6409 commit dc93d36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mesonbuild/cargo/raw.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
'license-file': str,
2626
'keywords': T.List[str],
2727
'categories': T.List[str],
28+
'homepage': str,
29+
'repository': str,
30+
'documentation': str,
2831
'workspace': str,
2932
'build': str,
3033
'links': str,
@@ -122,6 +125,8 @@ class Workspace(TypedDict):
122125

123126
members: T.List[str]
124127
exclude: T.List[str]
128+
package: Package
129+
dependencies: T.Dict[str, DependencyV]
125130

126131

127132
Manifest = TypedDict(

0 commit comments

Comments
 (0)