forked from tokio-rs/prost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional support for bytes::Bytes type backing bytes field (tokio-rs#341
) * Optional support for Bytes type backing bytes field. * Use actual Bytes type during build. * Run rustfmt. * Address clippy lints. * Clean up code generation logic. * Address fmt. * Update types. * Reinstate missing reserve(). * Rework trait to be private and clarify current behaviour. * Use trait bounds where possible. * Add link to related issue from bytes crate. * Add tests for bytes. * minor comment cleanup * fix default bytes values * clippy * fmt Co-authored-by: Rolf Timmermans <[email protected]>
- Loading branch information
1 parent
fa71719
commit a1cccbc
Showing
7 changed files
with
366 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.