File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -557,9 +557,10 @@ impl<'de> toml_span::Deserialize<'de> for TomlSpec {
557557 . optional :: < TomlFromStr < _ > > ( "git" )
558558 . map ( TomlFromStr :: into_inner) ;
559559 let path = th. optional ( "path" ) ;
560- let branch = th. optional ( "branch" ) ;
561560 let rev = th. optional ( "rev" ) ;
562- let tag = th. optional ( "tag" ) ;
561+ // TODO: Uncomment when lockfile source pinning is added.
562+ // let branch = th.optional("branch");
563+ // let tag = th.optional("tag");
563564 let subdirectory = th. optional ( "subdirectory" ) ;
564565 let build = th
565566 . optional :: < TomlFromStr < _ > > ( "build" )
@@ -586,9 +587,9 @@ impl<'de> toml_span::Deserialize<'de> for TomlSpec {
586587 url,
587588 git,
588589 path,
589- branch,
590590 rev,
591- tag,
591+ branch : None ,
592+ tag : None ,
592593 subdirectory,
593594 md5,
594595 sha256,
You can’t perform that action at this time.
0 commit comments