disregard what we believe is supported in cargo for hash type
This commit is contained in:
parent
6ff7a3e2aa
commit
081661b78d
2 changed files with 1 additions and 14 deletions
|
@ -1295,11 +1295,7 @@ mod parse {
|
|||
) -> bool {
|
||||
match v.and_then(|s| SourceFileHashAlgorithm::from_str(s).ok()) {
|
||||
Some(hash_kind) => {
|
||||
if hash_kind.supported_in_cargo() {
|
||||
*slot = Some(hash_kind);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
*slot = Some(hash_kind);
|
||||
}
|
||||
_ => return false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue