Crate

clap

Command-line argument parser for Rust applications.

What it is

clap is the standard argument parser for Rust CLI tools. It is usable via a builder API or with derive macros on a struct, where fields and attributes declare flags, options, and subcommands. Help text, input validation, and shell completion are generated automatically.

Why it is commonly used

Used by nearly every Rust command-line tool. The derive API turns a typed Rust struct into a complete CLI interface — argument parsing, validation, and help text without boilerplate.

1.1k
Repositories
6.1M
Total stars
1.5k
Active
1.4k
Owners
Browse 1704 repositories using clap in Repos →
Often used with
Used by these organizations
50 of 1.7k repositories · ranked by stars
claw-code193kactive

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

rustdesk116kactive

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

union74kactive

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

RuView72kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

⑂ 9.6k193
openinterpreter64kactive

A lightweight coding agent for open models like Deepseek, Kimi, and Qwen

⑂ 5.6k270
rustlings63kactive

:crab: Small exercises to get you used to reading and writing Rust code!

⑂ 11k38
rtk60kactive

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

⑂ 3.7k1.1k
starship58kactive

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

⑂ 2.5k1.0k
typst54kactive

A markup-based typesetting system that is powerful and easy to learn.

⑂ 1.6k1.2k
goose48kactive

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

hyperswitch43kactive

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

sniffnet39kactive

Comfortably monitor your Internet traffic 🕵️‍♂️

⑂ 1.6k66
firecracker35kactive

Secure and fast microVMs for serverless computing.

⑂ 2.4k89
comprehensive-rust33kactive

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

qdrant32kactive

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

zeroclaw32kactive

Fast, small, and fully autonomous AI personal assistant infrastructure, any OS, any platform — deploy anywhere, swap anything 🦀

jj30kactive

A Git-compatible VCS that is both simple and powerful

⑂ 1.1k1.1k
← Browse all repos