Replies: 1 comment 6 replies
-
Use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my project I extensively use various byte arrays (
Vec<u8>
,[u8]
). I have quite a number of types which comprise those as fields.My problem is,
ruslter
converts those to Erlang lists, and I don't like for obvious reasons. This leaves me to these workarounds:The problem with 1 is that it's quite a tedious work. It also adds maintenance burden. Normally I would use a derive macro, but it automatically picks lists. I know the current way to go is 2, but I don't want to pollute entire code with a custom wrapper for a byte array for this one sole purpose. My project is not Erlang-first oriented. Regarding 3, I am out of tears already.
Is there any better way around it? If not, could this be a feature request?
Beta Was this translation helpful? Give feedback.
All reactions