bjorn3 commented on Issue #1114:
All cranelift crates are now in paths like
cranelift/codegen. All wasmtime crates are now in paths likecrates/debug.
abrown closed Issue #1114:
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
craneliftcrate)- for all sub crates
cranelift-foo, put them atcrates/fooFor example, both
cargoandwasm-bindgenfollow this convention.How do folks feel about switching to this layout?
See also https://github.com/CraneStation/wasmtime/pull/305 for this same thing for wasmtime.
Last updated: Dec 06 2025 at 06:05 UTC