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

Fixed the immediate bug that was preventing it from deserializing. #19

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

orual
Copy link
Contributor

@orual orual commented Feb 17, 2024

Don't have all the Elixir stuff set up to test with, but my isolated test of the following code pulled out into its own program works.

If you're just directly piping from json to cbor, this is probably sufficient, but if you do want some sort of internal type representation you'll probably want to set up some structs for the data. Looks like there's the serde_rustler crate to get stuff into Elixir data types, if you hadn't already found it.

…n't have all the elixir stuff set up to test with
@ShreyanJain9 ShreyanJain9 merged commit fd8e114 into mekaem:main Feb 17, 2024
1 check passed
@orual orual deleted the rust_type_fix branch February 17, 2024 11:42
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