-
Notifications
You must be signed in to change notification settings - Fork 288
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
597f01e
Reader now verifies that events are UTF-8
dralley ce05d4b
Make Name types (QName, LocalName, etc.) str-based
dralley dff87c7
Remove Decoder from Event type / Attribute structs
dralley 72a2695
Convert Event types to str
dralley 86dd890
Bump MSRV to 1.86
dralley c6849d0
Change Deref<Target=..> from [u8] to &str
dralley d7bbf51
Remove decode() method from BytesText, etc.
dralley 2c7da2e
Convert Attributes to Cow<str>
dralley d033953
Remove remanents of Decoder from the Reader API
dralley 1fdd793
Fix fuzzing error
dralley 65e650c
Convert ReaderState.opened_buffer from Vec<u8> to String
dralley c54afc5
Moved UTF-8 validation from ReaderState::emit_* to XmlSource
dralley d543605
Convert NamespaceResolver::buffer from Vec<u8> to String
dralley 9e6a2f9
Make DeError::UnexpectedStart carry String
dralley a28be34
Derive Debug for multiple types
dralley 89df332
Use regex::Regex instead of regex::bytes::Regex
dralley 4234630
Fix a couple of signatures
dralley 026ab43
Convert write_wrapped() to &str
dralley 41193f4
Update Changelog
dralley 03c70c8
Fix docstrings
dralley 2dcaffc
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.