-
Notifications
You must be signed in to change notification settings - Fork 280
Improve ergonomics - rebuild Reader around native utf-8 string types #963
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
Open
dralley
wants to merge
21
commits into
tafia:master
Choose a base branch
from
dralley:ergonomics-str
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,691
−2,284
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
5a1baec
Reader now verifies that events are UTF-8
dralley 272e87f
Make Name types (QName, LocalName, etc.) str-based
dralley 65a300c
Remove Decoder from Event type / Attribute structs
dralley f7ad538
Convert Event types to str
dralley 02b4417
Bump MSRV to 1.86
dralley 970048f
Change Deref<Target=..> from [u8] to &str
dralley 97f1c6e
Remove decode() method from BytesText, etc.
dralley b1217f1
Convert Attributes to Cow<str>
dralley 80b08e7
Remove remanents of Decoder from the Reader API
dralley 516fb89
Fix fuzzing error
dralley 5e12bc2
Convert ReaderState.opened_buffer from Vec<u8> to String
dralley 0a44d8c
Moved UTF-8 validation from ReaderState::emit_* to XmlSource
dralley 43ca2c8
Convert NamespaceResolver::buffer from Vec<u8> to String
dralley 22c4a94
Make DeError::UnexpectedStart carry String
dralley c2350c8
Derive Debug for multiple types
dralley 2aed4a1
Use regex::Regex instead of regex::bytes::Regex
dralley 762b649
Fix a couple of signatures
dralley 3d1be68
Convert write_wrapped() to &str
dralley 5f6a1f5
Update Changelog
dralley 3305b05
Fix docstrings
dralley 9d834a5
Restore const on a few functions
dralley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.