File tree 1 file changed +9
-0
lines changed 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ use serde::Deserialize;
13
13
use serde:: Serialize ;
14
14
15
15
/// The merged metadata of potentially multiple sources.
16
+ ///
17
+ /// Metadata: Package Metadata from Cargo.lock files.
18
+ ///
19
+ /// Why "merged" metadata: crate2nix can be used to generate
20
+ /// builds for multiple projects without combining them into a
21
+ /// workspace.
16
22
#[ derive( Debug ) ]
17
23
pub struct MergedMetadata {
18
24
workspace_members : Vec < PackageId > ,
@@ -136,6 +142,9 @@ impl IndexedMetadata {
136
142
}
137
143
}
138
144
145
+ /// "Shortens" package IDs to potentially remove local paths from
146
+ /// the IDs. The local paths can make the build file generation
147
+ /// depend on the local systems path.
139
148
#[ derive( Debug , Deserialize , Serialize , Clone ) ]
140
149
pub struct PackageIdShortener {
141
150
substitution : HashMap < PackageId , PackageId > ,
You can’t perform that action at this time.
0 commit comments