Skip to content

src,lib: add experimental node:formats/toml module - #67874

Open
aduh95 wants to merge 4 commits into
nodejs:mainfrom
aduh95:toml++
Open

aduh95 wants to merge 4 commits into
nodejs:mainfrom
aduh95:toml++

Conversation

@aduh95

@aduh95 aduh95 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Related to #67157 //cc @marcopiraccini

Opt-in with a configure flag, so it can be backported. The plan is to make it opt-out in a future semver-major.

Add the header-only toml++ library, its updater script and license
entry, for use by node:formats/toml.
Add a TOML parser and serializer backed by toml++, available behind
`--experimental-toml` as the scheme-only `node:formats/toml` builtin.

Assisted-by: Devin
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/gyp
  • @nodejs/loaders
  • @nodejs/security-wg
  • @nodejs/startup
  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Nov 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Platform Number of requisites Proportion of new derivations
x86_64-linux 519 -> 520 => +1 1 / 520 = 0.1%
aarch64-linux 520 -> 521 => +1 1 / 521 = 0.1%
x86_64-darwin 447 -> 448 => +1 1 / 448 = 0.2%
aarch64-darwin 449 -> 450 => +1 1 / 450 = 0.2%
Total 1935 -> 1939 => +4 4 / 1939 = 0.2%
Version changes
Package Version Platforms
tomlplusplus added: 3.4.0 x86_64-darwin
tomlplusplus added: 3.5.1 aarch64-darwin, aarch64-linux, x86_64-linux

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants