@@ -1032,22 +1032,26 @@ impl<'a> TmpRegistry<'a> {
1032
1032
let deps: Vec < _ > = new_crate
1033
1033
. deps
1034
1034
. into_iter ( )
1035
- . map ( |dep| RegistryDependency {
1036
- name : dep. name . into ( ) ,
1037
- req : dep. version_req . into ( ) ,
1038
- features : dep. features . into_iter ( ) . map ( |x| x. into ( ) ) . collect ( ) ,
1039
- optional : dep. optional ,
1040
- default_features : dep. default_features ,
1041
- target : dep. target . map ( |x| x. into ( ) ) ,
1042
- kind : Some ( dep. kind . into ( ) ) ,
1043
- registry : dep. registry . map ( |x| x. into ( ) ) ,
1044
- package : None ,
1045
- public : None ,
1046
- artifact : dep
1047
- . artifact
1048
- . map ( |xs| xs. into_iter ( ) . map ( |x| x. into ( ) ) . collect ( ) ) ,
1049
- bindep_target : dep. bindep_target . map ( |x| x. into ( ) ) ,
1050
- lib : dep. lib ,
1035
+ . map ( |dep| {
1036
+ let name = dep. name . into ( ) ;
1037
+ let package = None ;
1038
+ RegistryDependency {
1039
+ name : name,
1040
+ req : dep. version_req . into ( ) ,
1041
+ features : dep. features . into_iter ( ) . map ( |x| x. into ( ) ) . collect ( ) ,
1042
+ optional : dep. optional ,
1043
+ default_features : dep. default_features ,
1044
+ target : dep. target . map ( |x| x. into ( ) ) ,
1045
+ kind : Some ( dep. kind . into ( ) ) ,
1046
+ registry : dep. registry . map ( |x| x. into ( ) ) ,
1047
+ package : package,
1048
+ public : None ,
1049
+ artifact : dep
1050
+ . artifact
1051
+ . map ( |xs| xs. into_iter ( ) . map ( |x| x. into ( ) ) . collect ( ) ) ,
1052
+ bindep_target : dep. bindep_target . map ( |x| x. into ( ) ) ,
1053
+ lib : dep. lib ,
1054
+ }
1051
1055
} )
1052
1056
. collect ( ) ;
1053
1057
0 commit comments