tuff-packs
Tuff capability packs from Rust. Build a source pack for its harnesses and for Claude Code, describe a pack for a review screen, read a Claude Code plugin as a pack, check out a pack from git and compare it with its release tags, preview an update, write packs as a Claude Code marketplace, and install, update, and remove packs in a project.
The tuff command is built on these functions. They return values and never print, and they write only to the folders you give them and to temporary folders they remove. Installing is a plan, which writes nothing and lists every member and file that will change, and an apply, which writes exactly that plan.
[]
= "0.20"
use Path;
use build_for_declared_targets;
use inspect;
The registry and diff features are on by default. With default-features = false the crate leaves out reqwest, the OCI client, tokio, and libgit2, and an update preview lists changed files without line-by-line patches.
The Rust API is 0.x and can change in a minor release. The JSON documents the tuff command prints are the stable interface; see the Pack JSON Specification. Guide: The tuff-packs Rust library.