feat: Add support for no_std - #166
Conversation
finnbear
left a comment
There was a problem hiding this comment.
Thanks for the PR! I think no_std would be great for bvh :)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #166 +/- ##
==========================================
- Coverage 49.89% 49.69% -0.21%
==========================================
Files 17 18 +1
Lines 1471 1479 +8
==========================================
+ Hits 734 735 +1
- Misses 737 744 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I didn't check the CI, I will submit fixes this evening. |
finnbear
left a comment
There was a problem hiding this comment.
Thank you! Apologies for taking longer than I said I would take for review.
|
Code changes look great! Here's what remains, in my opinion:
Thanks! |
|
Hello, I added a CI for testing builds without the |
|
Since Rust 1.80 has been released more than a year ago, I guess it is fine to bump the version? It fixes the dependency resolution. |
|
I'd be fine with that. |
|
@finnbear do you wanna merge this? |
|
@svenstaro I'm in favor of merging as-is, yes :) I see user-facing benefit from the diff, and the only user-facing risk I see is that a higher MSRV could force a |
|
I would like to see a mention of this new feature in the README so that users are aware it exists. |
|
Ok, I'll add it. |
|
Sorry about the conflicts. Should be easy to fix though. |
3cee6f5 to
adf1e30
Compare
No problem. However there may still be issues with clippy this time |
svenstaro
left a comment
There was a problem hiding this comment.
Almost there! Just tiny fixes.
|
LGTM! @finnbear any last comments? |
|
Reread the diff; LGTM too 👍 |
|
Cool! Thanks @oschijns |
|
Thank you for the crate and for the merge! |
Hello, I made a first draft for adding no_std support for this crate.
I needed to add a few dependencies to replace some std types with no_std equivalents.
I tried to find a way to replace the
thread_local!{BUCKETS}with something but I am unsure if what I did makes sense...