LLMs.txt

stale publishes machine-readable API documentation for use with Large Language Models, generated from the Rust source by cargo-llms-txt.

Two files are regenerated on every push to main and served as part of this site:

File Description
/llms.txt Concise project overview, dependency list, and public API summary
/llms-full.txt Complete public API documentation with full function signatures and doc comments

Example (llms.txt)

# stale

> A CLI tool to run or skip commands based on file content hashes

**Version:** x.y.z
**License:** Apache-2.0
**Repository:** https://github.com/th1nkful/stale
**Dependencies:** (example subset)
- dependency-a (1.0)
- dependency-b (2.0)

Generated: <TIMESTAMP>
Created by: cargo-llms-txt (https://github.com/masinc/cargo-llms-txt)

## Core Documentation

- [Complete API Documentation](llms-full.txt): Full public API documentation with detailed descriptions
- [README](README.md): Project overview and getting started guide
- [Cargo.toml](Cargo.toml): Project configuration and dependencies

## Table of Contents

### src/lib.rs

- pub fn resolve_pkg_version
- pub fn expand_globs
- pub fn compute_hash
- pub fn compute_hash_verbose
- pub fn derive_name
- pub fn find_git_root
- pub fn load_sum_entry
- pub fn save_sum_entry

Licensed under the Apache License 2.0.