Skip to content

Upgrade Rapid YAML to v0.5.0, and switch to the single file amalgamation#1134

Merged
johnbartholomew merged 1 commit into
google:masterfrom
johnbartholomew:try-rapidyaml-single-file
Feb 27, 2024
Merged

Upgrade Rapid YAML to v0.5.0, and switch to the single file amalgamation#1134
johnbartholomew merged 1 commit into
google:masterfrom
johnbartholomew:try-rapidyaml-single-file

Conversation

@johnbartholomew

@johnbartholomew johnbartholomew commented Feb 9, 2024

Copy link
Copy Markdown
Collaborator

Rapid YAML has an extensive CMake based build, which is probably ok but may be awkward to use from our other build systems (e.g., Bazel, which we probably want to continue supporting).

However, Rapid YAML also provides a single-file amalgamation (aka unity build), which is of course much easier to embed.

I expect this makes it harder for users (e.g., distribution packagers) to use a system-provided Rapid YAML install instead. I'd like to fix that, though I'm not sure if anyone is doing that currently - unlike the json lib we don't seem to have prior support for it in the CMake build at least. So it can probably be done as a follow-up. But ideally before the next published release.

@johnbartholomew

Copy link
Copy Markdown
Collaborator Author

A few open bugs should be fixed just by upgrading Rapid YAML:

YAML-parsing-related bug #1109 is not fixed by the upgrade and needs other work.

Rapid YAML has an extensive CMake based build, which is probably ok but
might be a pain to use from our other build systems (e.g., Bazel, which
we probably want to continue supporting).

However, Rapid YAML also provides a single-file amalgamation (aka unity
build), which is of course much easier to embed.
@johnbartholomew johnbartholomew force-pushed the try-rapidyaml-single-file branch from 46527e0 to 4003c4d Compare February 12, 2024 00:38
@johnbartholomew johnbartholomew merged commit 4003c4d into google:master Feb 27, 2024
@johnbartholomew johnbartholomew deleted the try-rapidyaml-single-file branch March 3, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants