Crate

strum

Derive macros for enums — iteration, display, and string conversion.

What it is

strum provides derive macros that add practical functionality to Rust enums: EnumIter to iterate all variants, Display for string formatting, EnumString to parse from strings, and AsRefStr for string views. strum_macros is the companion proc-macro crate.

Why it is commonly used

Used when enum variants need to be converted to and from strings, iterated, or counted — CLI subcommands, configuration keys, state machines, and any enum that requires programmatic traversal.

284
Repositories
2.7M
Total stars
411
Active
385
Owners
Browse 447 repositories using strum in Repos →
Often used with
Used by these organizations
50 of 447 repositories · ranked by stars
bun93kactive

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

⑂ 4.7k7.0k
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.

openinterpreter64kactive

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

⑂ 5.6k270
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

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 🦀

rustfs29kactive

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

Graphite26kactive

Community-built comprehensive 2D content creation appplication for graphic design, digital art, and interactive real-time motion graphics powered by a node-based procedural graphics engine

⑂ 1.2k531
nautilus_trader23kactive

Production-grade Rust-native trading engine with deterministic event-driven architecture

slint23kactive

Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

⑂ 899830
gitbutler21kactive

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

⑂ 951663
turso19kactive

Turso is an in-process SQL database, compatible with SQLite.

⑂ 1.0k695
relay19kactive

Relay is a JavaScript framework for building data-driven React applications.

⑂ 1.9k842
wasmtime18kactive

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

⑂ 1.7k840
← Browse all repos