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
cranelift
crate)- for all sub crates
cranelift-foo
, put them atcrates/foo
For example, both
cargo
andwasm-bindgen
follow 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 23 2024 at 12:05 UTC