-
-
Notifications
You must be signed in to change notification settings - Fork 908
refactor: commonize MessagePack (rmp) helpers #3665
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
markovejnovic
wants to merge
27
commits into
main
Choose a base branch
from
ai-wip/commonize-rmp
base: main
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.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7c5231e
feat(common): add feature-gated rmp module scaffold
markovejnovic cee892d
feat(common): add rmp EncodeError/DecodeError types
markovejnovic 6ffdd3a
feat(common): add RmpDecodeExt read_with/read_string/read_optional
markovejnovic e86998a
feat(common): add RmpDecodeExt array-len and eof checks
markovejnovic c9ab60a
feat(common): add RmpEncodeExt write_optional
markovejnovic 9f6ee97
test(common): property tests for rmp round-trips and panic-safety
markovejnovic 27bc8b2
chore(common): record rmp dependency in Cargo.lock
markovejnovic c9364a3
test(common): cover nil-optional cursor advance
markovejnovic 70b935b
refactor(client): use atuin_common::rmp in history serde
markovejnovic bef72f1
refactor(client): delete now-unused utils/rmp module
markovejnovic 526a1cb
refactor(client): use atuin_common::rmp in encryption and history store
markovejnovic c30019c
refactor(scripts): use atuin_common::rmp in record/script serde
markovejnovic af8d4bc
refactor(dotfiles): use atuin_common::rmp across var/alias serde
markovejnovic 424c1b3
test(dotfiles): round-trip delete-record deserialize
markovejnovic 0171b3d
refactor(kv): use atuin_common::rmp in record serde
markovejnovic 1a0d715
deslop
markovejnovic fff695a
refactor(common): make rmp helpers free functions instead of extensio…
markovejnovic 1cc1150
refactor(common): generic decode::<T>() via Decode trait for rmp helpers
markovejnovic a35d584
refactor(common): split rmp into decode/encode facade modules
markovejnovic 7c8f795
refactor: call rmp facade via rmp::decode/rmp::encode module paths
markovejnovic 5d19aa0
feat(common): add read_total_array framing combinator for rmp records
markovejnovic 17eb539
deslop
markovejnovic 08d4fa5
more deslop
markovejnovic a41cfc3
more deslop
markovejnovic 6e54ac3
deslop
markovejnovic a99f3fb
more deslop
markovejnovic ed8bbad
more cleanup
markovejnovic 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we import encode and decode like before to minimize the diff?