All of our current crates are scattered in the top level of the repository, it's not very intuitive for newcomers to look at the code and know that common directory is for shared rust code, and that wtf8 is also a crate for example.
I propose that we create a new directory called crates where we will have the following:
I think it be better if we do those changes with many smaller PRs as not all of them would require changes to the CI, or any other changes. while minimizing the merge conflicts frequencies while we are in this transition.
For project examples that uses this workspace structure you can see:
All of our current crates are scattered in the top level of the repository, it's not very intuitive for newcomers to look at the code and know that
commondirectory is for shared rust code, and thatwtf8is also a crate for example.I propose that we create a new directory called
crateswhere we will have the following:common->crates/commonMovecommon->crates/common#6256compiler/core->crates/compiler-coreMovecompiler-core->crates/compiler-core#6258compiler/codegen->crates/codegenMovecompiler/codegen->crates/codegen#6260compiler/literal->crates/literalMovecompiler/literal->crates/literal#6259compiler/source->crates/compiler-sourceMovecompiler/source->crates/compiler-source#6261compiler/src->crates/compilerMovecompiler/src->crates/compiler#6270derive->crates/deriveMovederive->crates/derive#6264derive-impl->crates/derive-implmovederive-impl->crates/derive-impl#6263jit->crates/jitMovejit->crates/jit#6262pylib->crates/pylibMovepylib->crates/pylib#6225stdlib->crates/stdlibMovestdlib->crates/stdlib#6268vm/sre_engine->crates/sre_engineMovevm/sre_engine->crates/sre_engine#6265vm->crates/vmMovevm->crates/vm#6269wasm/lib->crates/wasmMovewasm/lib->crates/wasm#6280wtf8->crates/wtf8Movewtf8->crates/wtf8#6257src->crates/rustpytonI think it be better if we do those changes with many smaller PRs as not all of them would require changes to the CI, or any other changes. while minimizing the merge conflicts frequencies while we are in this transition.
For project examples that uses this workspace structure you can see: