Skip to content

make encode feature public available#17

Closed
maxxcs wants to merge 4 commits into
noib3:mainfrom
maxxcs:public-encode
Closed

make encode feature public available#17
maxxcs wants to merge 4 commits into
noib3:mainfrom
maxxcs:public-encode

Conversation

@maxxcs

@maxxcs maxxcs commented Jan 23, 2026

Copy link
Copy Markdown

Currently, it's not possible to access the encode() and decode() methods for Insertion and Deletion even with the features = ["encode"] enabled. This PR aims to resolve this.

@noib3

noib3 commented Jan 23, 2026

Copy link
Copy Markdown
Owner

Encode and Decode are currently not part of the public API because I plan to eventually remove them.

If you need to convert Insertions and Deletions to/from bytes, you can use their Serialize and Deserialize impls combined with a serde data format that supports binary output (such as bincode).

@maxxcs

maxxcs commented Jan 23, 2026

Copy link
Copy Markdown
Author

Encode and Decode are currently not part of the public API because I plan to eventually remove them.

If you need to convert Insertions and Deletions to/from bytes, you can use their Serialize and Deserialize impls combined with a serde data format that supports binary output (such as bincode).

Ah, I see. I'll close this PR then.

@maxxcs maxxcs closed this Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants