This project has grown both in size and complexity more than I ever imagined it would. To keep up with this growth, and to prepare for the future, I think a little workspace cleanup is warranted.
This PR does not change any functionality of Cornucopia . In fact, it doesn't even modify the code of the main crates beyond some moving/renaming.
The notable changes are:
Removing some unused non-code files.
Rename the bench folder to benches (its the correct name according to the standard package layout)
Add README files to some of our internal crates to clarify their use.
Made it possible to run integration tests with podman (docker is really annoying on some systems)
Added comments in our Cargo.toml manifests to document the various dependencies.
Moved all published crates into a crates folder. This makes publishing easier and cleanly separates the internal vs published crates.
Prefix the test crates with test_ to better group them in the filesystem.
I noticed that a couple error messages could be reworded, and some need clarifications, but I'll keep that for another PR.
I also noticed that our main crate crashes with obscure error messages in some cases, notably when there are no queries in the designated folder, or no schema file, etc. Again, this is for another PR.
This project has grown both in size and complexity more than I ever imagined it would. To keep up with this growth, and to prepare for the future, I think a little workspace cleanup is warranted.
This PR does not change any functionality of Cornucopia . In fact, it doesn't even modify the code of the main crates beyond some moving/renaming.
The notable changes are:
bench
folder tobenches
(its the correct name according to the standard package layout)README
files to some of our internal crates to clarify their use.podman
(docker is really annoying on some systems)Cargo.toml
manifests to document the various dependencies.crates
folder. This makes publishing easier and cleanly separates the internal vs published crates.test_
to better group them in the filesystem.I noticed that a couple error messages could be reworded, and some need clarifications, but I'll keep that for another PR.
I also noticed that our main crate crashes with obscure error messages in some cases, notably when there are no queries in the designated folder, or no schema file, etc. Again, this is for another PR.