Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

johnbartholomew
Copy link
Collaborator

@johnbartholomew johnbartholomew commented Feb 9, 2024

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
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
6 checks passed
@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