Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Koca
The universal build, package, and publishing tool.
Koca is a modern, universal, and system-native package manager designed to simplify the process of building and distributing applications across multiple platforms. It is so powerful that it even builds and packages itself!
Why Koca?
- Universal: Build for any operating system—Windows, macOS, and Linux distributions (Ubuntu, Debian, Red Hat)—using a single build file.
- System Native: Leverage native packaging systems to output familiar formats like
.exe,.pkg,.deb,.rpm, and more. - Lightning Fast: Optimized for speed with a Rust-based backend, ensuring your builds are as fast as possible.
- Developer First: Focus on building your application, not the packaging tooling around it.
Example: Packaging Claude Code
Koca uses a simple, bash-like syntax for its build files. Here is an example of how you can package Claude Code using Koca:
pkgname=claude-code
pkgver=2.1.50
pkgrel=1
pkgdesc='Terminal-based AI coding assistant'
arch=('x86_64')
To create a package from this script:
# Create a .deb and .rpm package for Claude Code
Getting Started
Installation
GitHub Releases
You can download the latest pre-built binaries for your platform from the GitHub releases page.
Via Cargo
If you have Rust and Cargo installed, you can build and install Koca from source:
Via Docker
You can also run Koca as a Docker container:
Usage
The create command is the primary way to build packages:
# Create .deb and .rpm packages (default)
# Create an .rpm package
License
Koca is released under the FSL-1.1-MIT license.