| Crates.io | lulu |
| lib.rs | lulu |
| version | 0.0.721 |
| created_at | 2025-10-13 22:23:12.703307+00 |
| updated_at | 2025-12-28 15:42:00.11617+00 |
| description | A mini lua runtime |
| homepage | |
| repository | https://github.com/kevinj045/lulu |
| max_upload_size | |
| id | 1881240 |
| size | 1,038,255 |
A simple Lua runtime that also helps with bundling Lua code, resolving Lua requirements, and building a final executable with libraries.
You can run a single Lua file:
lulu run single.lua
You can also run a project with a main.lua and a lulu.conf.lua:
lulu run main.lua
Lulu can bundle your project into a single .lulib file:
lulu bundle main.lua /path/to/main.lulib
You can build a standalone executable from your project. The build process is defined in your lulu.conf.lua.
lulu build /path/to/project
# or
lulu build # means lulu build .
Lulu can resolve and cache dependencies from URLs or git repositories.
To resolve all dependencies for a project, run resolve in the project directory:
lulu resolve .
You can also resolve a single dependency:
lulu resolve github:user/repo
You can manage the cache with the cache command:
# List all cached packages
lulu cache list
# Clear the entire cache
lulu cache clear
# Remove a specific package from the cache
lulu cache remove <package_url>
import!, test!, cfg!)lulu.conf.lua)