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 d831cb3 commit 94b2f13Copy full SHA for 94b2f13
src/web/crate_details.rs
@@ -314,7 +314,7 @@ impl CrateDetails {
314
};
315
let manifest = String::from_utf8(manifest.content)
316
.context("parsing Cargo.toml")?
317
- .parse::<toml::Value>()
+ .parse::<toml::Table>()
318
.context("parsing Cargo.toml")?;
319
let paths = match manifest.get("package").and_then(|p| p.get("readme")) {
320
Some(toml::Value::Boolean(true)) => vec!["README.md"],
0 commit comments