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

Consider exporting physics backends using features #3

Open
wackbyte opened this issue Oct 10, 2019 · 2 comments
Open

Consider exporting physics backends using features #3

wackbyte opened this issue Oct 10, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@wackbyte
Copy link
Contributor

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

@AndreaCatania AndreaCatania self-assigned this Oct 11, 2019
@AndreaCatania AndreaCatania added the enhancement New feature or request label Oct 11, 2019
@AndreaCatania
Copy link
Owner

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.

@wackbyte
Copy link
Contributor Author

I created #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants