amethyst_physics icon indicating copy to clipboard operation
amethyst_physics copied to clipboard

Consider exporting physics backends using features

Open wackbyte opened this issue 6 years ago • 2 comments

You should be able to use a feature named something like "backend-nphysics" to have NPhysicsBackend included directly in the crate (for convenience).

wackbyte avatar Oct 10 '19 22:10 wackbyte

This is a great idea, but I wonder if it's possible tell cargo to download and link a new crate only when a specific feature is provided.

If you know how to do it, a PR is well accepted.

AndreaCatania avatar Oct 11 '19 07:10 AndreaCatania

I created #4.

wackbyte avatar Oct 12 '19 01:10 wackbyte