Skip to content

Should we re-organize crates within the workspace to be more conventional? #1114

@fitzgen

Description

@fitzgen

While there isn't really One True Way to organize a workspace and the crates within it that is adopted by a majority of the rust ecosystem, of the different ways to do it, the most prevalent convention I've seen is:

  • to have the main, public facing crate in the root of the repo (ie the cranelift crate)
  • for all sub crates cranelift-foo, put them at crates/foo

For example, both cargo and wasm-bindgen follow this convention.

How do folks feel about switching to this layout?

See also #305 for this same thing for wasmtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions