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

Use ciborium instead of deprecated serde_cbor #3

Open
adzialocha opened this issue Mar 4, 2022 · 5 comments
Open

Use ciborium instead of deprecated serde_cbor #3

adzialocha opened this issue Mar 4, 2022 · 5 comments

Comments

@adzialocha
Copy link

serde_cbor seems to be deprecated / archived, see: https://github.com/pyfisch/cbor, a good alternative for the future could be to use ciborium.

@ericseppanen
Copy link
Owner

I just started using ciborium in another project, but I haven't had enough time with it yet to know whether it's ready/complete. Have you used it much? I'd like to hear your opinion on it.

@ericseppanen
Copy link
Owner

ericseppanen commented Mar 4, 2022

Some extended thoughts on deserialization:

(moved to a separate issue: #4)

@ericseppanen
Copy link
Owner

Another reason to use ciborium: it has a cbor! macro that would make cbor unit tests a lot easier.

@adzialocha
Copy link
Author

Another reason to use ciborium: it has a cbor! macro that would make cbor unit tests a lot easier.

Yes, this is very handy, we also use it a lot in our tests 👍

@adzialocha
Copy link
Author

I stumbled upon ciborium through this issue here, maybe this also helps: anweiss/cddl#90

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

2 participants