Skip to content

Commit

Permalink
Insert all-features with a boolean and not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv authored and bilelmoussaoui committed Aug 7, 2023
1 parent 77bac6e commit 1d1ce10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/sys/cargo_toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ fn fill_in(root: &mut Table, env: &Env) {

// Generate docs for all features unless a list of features to be activated on docs.rs was specified
if let toml::map::Entry::Vacant(_) = docs_rs_metadata.entry("features") {
set_string(docs_rs_metadata, "all-features", "true");
docs_rs_metadata.insert("all-features".to_string(), Value::Boolean(true));
}
}
}
Expand Down

0 comments on commit 1d1ce10

Please sign in to comment.