From c1679d5680a200adb8836a6bb1829550fb97c920 Mon Sep 17 00:00:00 2001 From: David Meister Date: Wed, 19 Aug 2026 12:52:05 +0000 Subject: [PATCH] Move soldeer release metadata under foundry's [external] section foundry reads any unreserved root section as a profile and warns about [package] on every invocation, and forge config --fix would rewrite it into [profile.package], turning one warning into two unknown-key warnings. [external.*] is the section foundry reserves for another tool's config and ignores (foundry-rs/foundry#5866, excluded from the fixer in foundry-rs/foundry#12723). Closes #28 Co-Authored-By: Claude Fable 5 --- foundry.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/foundry.toml b/foundry.toml index 974e76c..1cbae8d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,4 +1,10 @@ -[package] +# Release metadata, not foundry config: `rainix-autopublish` reads `version` as +# the next, unpublished Soldeer release and rewrites it when it publishes, and +# neither forge nor soldeer reads anything here. `[external.*]` is the section +# foundry reserves for another tool's config and ignores; a section it does not +# reserve is read as a profile, which it warns about on every invocation and +# `forge config --fix` rewrites into `[profile.*]`. +[external.package] name = "rain-datacontract" version = "0.1.0"