Craft Registry

March 16, 2026 · View on GitHub

The official kit registry for Craft — a lightweight build tool for C and C++.

A kit is what Craft calls a package or dependency. Kits are hosted on GitHub and added to your project with a single command:

craft add raylib

Adding a Kit

Create a new .toml file in kits/ named after your kit:

kits/mykit.toml

[kit]
name = "mykit"
description = "A short description of the kit"
git_url = "https://github.com/user/mykit.git"
links = ["mykit"]

Then open a pull request. Make sure:

  • The kit name is lowercase
  • The git URL points to a public repository
  • The links are valid CMake target names after the library is built

Using a Kit

Once a kit is in the registry, anyone using Craft can add it to their project:

craft add raylib                    # add latest version
craft add raylib --tag 5.5          # add a specific version
craft remove raylib                 # remove it
craft update raylib                 # update to latest

License

MIT