File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
crates/cargo-test-support/src Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -846,7 +846,6 @@ impl HttpServer {
846
846
if footer. url != "https://github.com/rust-lang/crates.io-index"
847
847
&& footer. url != & format ! ( "sparse+http://{}/index/" , self . addr. to_string( ) )
848
848
{
849
- dbg ! ( footer. url) ;
850
849
return false ;
851
850
}
852
851
@@ -869,13 +868,11 @@ impl HttpServer {
869
868
return false ;
870
869
}
871
870
if private_key_subject. as_deref ( ) != message. sub {
872
- dbg ! ( message. sub) ;
873
871
return false ;
874
872
}
875
873
// - If the claim v is set, that it has the value of 1.
876
874
if let Some ( v) = message. v {
877
875
if v != 1 {
878
- dbg ! ( message. v) ;
879
876
return false ;
880
877
}
881
878
}
@@ -885,22 +882,18 @@ impl HttpServer {
885
882
if let Some ( mutation) = mutation {
886
883
// - That the operation matches the mutation field and is one of publish, yank, or unyank.
887
884
if message. mutation != Some ( mutation. mutation ) {
888
- dbg ! ( message. mutation) ;
889
885
return false ;
890
886
}
891
887
// - That the package, and version match the request.
892
888
if message. name != mutation. name {
893
- dbg ! ( message. name) ;
894
889
return false ;
895
890
}
896
891
if message. vers != mutation. vers {
897
- dbg ! ( message. vers) ;
898
892
return false ;
899
893
}
900
894
// - If the mutation is publish, that the version has not already been published, and that the hash matches the request.
901
895
if mutation. mutation == "publish" {
902
896
if message. cksum != mutation. cksum {
903
- dbg ! ( message. cksum) ;
904
897
return false ;
905
898
}
906
899
}
You can’t perform that action at this time.
0 commit comments