From 670d50ca926f52ea50d7f9cc4d2f020021cdc6c6 Mon Sep 17 00:00:00 2001 From: pentamassiv Date: Mon, 7 Aug 2023 00:42:20 +0200 Subject: [PATCH] Insert all-features with a boolean and not a string --- src/codegen/sys/cargo_toml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen/sys/cargo_toml.rs b/src/codegen/sys/cargo_toml.rs index 44ce52239..6f8b943f3 100644 --- a/src/codegen/sys/cargo_toml.rs +++ b/src/codegen/sys/cargo_toml.rs @@ -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)); } } }