We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5abd78 commit 291fd79Copy full SHA for 291fd79
src/web/crate_details.rs
@@ -313,7 +313,7 @@ impl CrateDetails {
313
};
314
let manifest = String::from_utf8(manifest.content)
315
.context("parsing Cargo.toml")?
316
- .parse::<toml::Value>()
+ .parse::<toml::Table>()
317
.context("parsing Cargo.toml")?;
318
let paths = match manifest.get("package").and_then(|p| p.get("readme")) {
319
Some(toml::Value::Boolean(true)) => vec!["README.md"],
0 commit comments