-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
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:
-
common->crates/rustpython_common -
compiler/core->crates/rustpython_compiler_core -
compiler/codegen->crates/rustpython_compiler_codegen -
compiler/literal->crates/rustpython_compiler_literal -
compiler/source->crates/rustpython_compiler_source -
compiler/src->crates/rustpython_compiler -
derive->crates/rustpython_derive -
derive-impl->crates/rustpython_derive_impl -
jit->crates/rustpython_jit -
pylib->crates/rustpython_pylib -
stdlib->crates/rustpython_stdlib -
vm/sre_engine->crates/rustpython_sre_engine -
vm->crates/rustpython_vm -
wasm->crates/rustpython_wasm -
wtf8->crates/rustpython_wtf8 -
src->crates/rustpython
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:
Metadata
Metadata
Assignees
Labels
No labels