cargo-c

Install command:
brew install cargo-c

Helper program to build and install c-like libraries

https://github.com/lu-zero/cargo-c

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/cargo-c.json

Formula code: cargo-c.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.10.26

Depends on:

libgit2 1.9.7 C library of Git core methods that is re-entrant and linkable
libssh2 1.11.1 C library implementing the SSH2 protocol
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
rust 1.99.1 Safe, concurrent, practical language

Uses from macOS: curl (since macOS Sonoma)

Binaries: cargo-capi, cargo-cbuild, cargo-cinstall, cargo-ctest

GitHub Packages downloads:

Last 30 days7,743
Downloads329,427
Analytics install events (30 days)4,820
Downloads / install events (30 days)1.6×

Source: GitHub Packages, fetched 2026-11-11T00:51:57Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,8208,56716,011
Installs (--HEAD)002
Installs on Request6621,2014,101
Installs on Request (--HEAD)002
Build Errors28