Skip to content

Change crate package layout to reflect Rust standards #31

@virtualritz

Description

@virtualritz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions