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

Support Crystal 1.0? #8

Closed
kojix2 opened this issue Jun 28, 2021 · 4 comments · Fixed by #9
Closed

Support Crystal 1.0? #8

kojix2 opened this issue Jun 28, 2021 · 4 comments · Fixed by #9

Comments

@kojix2
Copy link

kojix2 commented Jun 28, 2021

Hi bitfields developers.

Thank you for creating useful package.
When I try to install shards, I get the following error message.

Unable to satisfy the following requirements:

- `crystal (~> 0.27, >= 0.27.0)` required by `bitfields 0.2.2`
Failed to resolve dependencies, try updating incompatible shards or use --ignore-crystal-version as a workaround if no update is available.

It would be great if you could support 1.0.

@kojix2
Copy link
Author

kojix2 commented Jun 28, 2021

I ran the test.
crystal spec/bitfields_spec.cr

........................

Finished in 967 microseconds
24 examples, 0 failures, 0 errors, 0 pending

All tests seem to have passed. 👍

@elorest
Copy link
Owner

elorest commented Oct 30, 2021

Thanks. I'm fixing this now. So many deps to keep up to date lol.

@kojix2
Copy link
Author

kojix2 commented Oct 31, 2021

Thank you!

I'm trying to create a binding for a C library that contains bitfields. I think this package will be very useful.
It would be even better if crystal_lib could support bitfields.

@elorest
Copy link
Owner

elorest commented Oct 31, 2021

I agree. If your interested in a mix of big and little endian values checkout my crystal conf talk on binary messaging. I linked to another example project in there.

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 a pull request may close this issue.

2 participants