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

Change crate package layout to reflect Rust standards #31

Open
virtualritz opened this issue Oct 5, 2021 · 0 comments
Open

Change crate package layout to reflect Rust standards #31

virtualritz opened this issue Oct 5, 2021 · 0 comments

Comments

@virtualritz
Copy link

virtualritz commented Oct 5, 2021

See here.

At the moment examples and tests all live under src. This also means there is a namespace prefix, core, that could potentially be omitted.

If they were moved to their own resp. folders this crate could be lighter. It may be necessary to move examples to a twsapi-examples crate. The tests could then depend on this crate.

See the bevy crate for some ideas how to set up a workspace with sub-crates that makes this more easy.

P.S.: I may do this myself for my fork and open a PR here.

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

No branches or pull requests

1 participant