Skip to content
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

Remove serde? #73

Open
burdges opened this issue Jun 10, 2021 · 4 comments
Open

Remove serde? #73

burdges opened this issue Jun 10, 2021 · 4 comments

Comments

@burdges
Copy link
Collaborator

burdges commented Jun 10, 2021

Is serde too dangerous for key format stability? Should we remove the serde feature?

It's likely fine if someone uses bincode, etc. but if someone use something with unicode or utf-8 then maybe they'd output ligatures or something similarly messed up

Any thoughts @ordian or @becominginsane ?

Related:

@burdges
Copy link
Collaborator Author

burdges commented Mar 21, 2023

@ghost
Copy link

ghost commented Mar 21, 2023

To be honest, I don't see a problem with the current implementation, or how UTF8 etc would impact this, but I suppose this comes into play when using a format that doesn't support raw bytes as "raw bytes" and instead tries to do something fancy with it?

I see in the PR that serdect was suggested, probably worth moving to that instead, so human readable always has hex, and non-human readable always has binary, so that should solve the issue

@ghost
Copy link

ghost commented Aug 21, 2023

The prebuilt binary has been removed since 1.0.184 but yeah, I didn't like it either

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

No branches or pull requests

1 participant