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

feat(toml)!: Update parser by using toml_edit #457

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Conversation

epage
Copy link
Member

@epage epage commented Jan 18, 2023

epage added 2 commits January 17, 2023 14:17
`toml_edit::de::Deserializer` got a `FromStr` so callers could bypass the `despan` calls for extra performance.

BREAKING CHANGES:
- `Deserializer` now only handles documents, use `ValueDeserializer` otherwise
- `from_slice` removed
@epage epage merged commit 7f16c18 into toml-rs:main Jan 18, 2023
@epage epage deleted the merge-de branch January 18, 2023 03:54
epage added a commit to epage/toml_edit that referenced this pull request Jan 18, 2023
epage added a commit that referenced this pull request Jan 18, 2023
test(serde): Verify #388 was fixed by #457
epage added a commit to epage/toml_edit that referenced this pull request Jan 18, 2023
PR toml-rs#457 changed out the parser to `toml_edit` which had a lot of span improvements done, including addressing this.

Fixes toml-rs#425
epage added a commit that referenced this pull request Jan 18, 2023
test(de): Verify #425 is fixed by #457
epage added a commit to epage/toml_edit that referenced this pull request Jan 19, 2023
With toml-rs#457, we've started to make a harder distinction between documents and
values in `de`.  We are looking to do similar for `ser` which requires us to do
this for `Table`/`Value` as well.

Fixes toml-rs#367
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.

1 participant