-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some general types and untilities for more serde processing (#163)
* Add test API for building bolt bytes * Make from_bytes_ref usable * Add derive feature to lib dependencies * Add serializer to flatten types into a map * Add some future error cases * Implement new Summary enum * Add generic stream response * Format cargo.toml * Also deserialze tuples as lists * Implement detail message Record * Add debug type to debug a packstream bytes sequence * Make all fields in the Summary optional * Add new response type that is Summary | Detail * Rename Mode to Type * Add into_error * Add some allow_unused to make clippy happier * Don't use let-else because MSRV * Don't use saturating_sub_unsigned because MSRV * Mark error enums as non_exhaustive
- Loading branch information
1 parent
1c416c5
commit 7294ef7
Showing
10 changed files
with
2,536 additions
and
90 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
Oops, something went wrong.