-
Notifications
You must be signed in to change notification settings - Fork 2
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
Triple-quoted strings result in an error #2
Comments
mgeisler
added a commit
to mgeisler/rust-release-gh-action
that referenced
this issue
Apr 19, 2022
When trying to set the version number for a crate (my lipsum crate) which uses triple-quoted strings, I get an error: Error: Mismatch between location and raw string, expected 7 lines for """" Lipsum is a lorem ipsum text generation library. Use this if you need filler or dummy text for your application. The text is generated using a simple Markov chain, which you can also instantiate to generate your own pieces of pseudo-random text. """" This is now reported as thomaseizinger/set-crate-version#2, and in the meantime, we’ll simply use Python to do the search-and-replace.
Thanks for the report! I almost certain that this is a problem with the toml parsing library that we are using: https://github.com/timhall/toml-patch If you can reproduce the problem with just that library, do you mind opening this issue upstream? |
Yeah, it's reproducible upstream, I opened timhall/toml-patch#25 to track this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
When trying to set the version number for a crate (my lipsum crate) which uses triple-quoted strings, I get an error:
The
Cargo.toml
file has a triple-quoted description:To the best of my knowledge, this is a valid TOML file, but it somehow triggers the above error. I wasn't able to figure out what the problem is.
The text was updated successfully, but these errors were encountered: