dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
534 stars 93 forks source link

Please move `partitioning` and `transformation` behind an `alloc` feature instead of forcing `std` #84

Open ProfElements opened 2 years ago

ProfElements commented 2 years ago

partitioning is the easier of the two, as its just replacing std with alloc and importing Vec/vec

transformation would have to be changed slightly as you use HashMap and HashSetin a number of places. This might be able to be transition to hashbrown's HashMap and HashSet types.

I haven't looked into parry dependencies but it doesn't seem that much of it requires std. A quick skim of it seems to just be spade for the transformation module

Bombfuse commented 1 year ago

I saw that parry has no_std support in features now, is it fully no_std now? Was wondering if this issue was fixed or still needs fixed

ProfElements commented 1 year ago

transformation is still completely behind std but partitioning is no longer behind std

hatmajster commented 8 months ago

I try to address this issue in #170