hecatia-elegua / bilge

Use bitsized types as if they were a feature of rust.
Apache License 2.0
174 stars 18 forks source link

refactor attribute splitting logic #58

Closed pickx closed 1 year ago

pickx commented 1 year ago

in preparation for dealing with #50, I've decided to move the attribute splitting logic to a different module.

not that there was anything wrong with it, but I would like to make it easy to add additional interesting attributes in the future. also we didn't reject bitsize_internal on enums.

some TODOs in the code about stuff I wasn't sure about.