Canonical way to add NuMojo to a Mojo project?
Looking at the NuMojo documentation there are directions for building a Mojo packages and making it visible to a Mojo project. Is there a "canonical" way of adding multiple packages like NuMojo to an existing Mojo project? I'm thinking of having a
project/vendor
or project/lib
directory to host these external packages.4 Replies
There's some work on setting up a package similar to npm or crates.io. Most community members have agreed that this what we should be moving towards so we haven't standardized a way to include another project yet.
Thanks I’ll go with vendor directory in the interim
We are currently planning to host NuMojo on prefix.dev where many community project are currently hosted. Once that's done, NuMojo will be added as a dependancy by magic once you modify the .toml file.
prefix.dev
prefix.dev – solving software package management
The software package management platform for Python, C++, R, Rust and more
Nice!