dimforge / parry

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

Build fails with --features serde-serialize #21

Closed dstaatz closed 3 years ago

dstaatz commented 3 years ago

Running cargo build --features serde-serialize fails.

Specifically this issue is only for building the parry2d and parry2d-f64 packages.

One of the errors:

error[E0277]: the trait bound `ArrayVec<[TrackedContact<ContactData>; 2]>: Deserialize<'_>` is not satisfied
   --> build/parry2d/../../src/query/contact_manifolds/contact_manifold.rs:73:1

It seems that the "arrayvec/serde" feature is not enabled when the the serde-serialize feature is enabled.

sebcrozet commented 3 years ago

Fixed by #22.