Crate

syn

Parser for Rust syntax — the foundation of proc-macro crates.

What it is

syn parses Rust source code from a proc_macro::TokenStream into a typed abstract syntax tree. It represents every Rust syntactic construct — structs, enums, expressions, types, attributes — and is the foundation for all custom derive and attribute macros.

Why it is commonly used

Not a direct application dependency. syn is used to build proc-macro crates like serde_derive, thiserror, and clap's derive support. Its high repo count reflects how many crates ship their own proc-macros.

420
Repositories
3.4M
Total stars
603
Active
566
Owners
Browse 682 repositories using syn in Repos →
Often used with
Used by these organizations
50 of 682 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.

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

firecracker35kactive

Secure and fast microVMs for serverless computing.

⑂ 2.4k89
tokio32kactive

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

⑂ 3.1k433
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
wezterm27kactive

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

⑂ 1.5k1.7k
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
biome25kactive

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

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
oxc22kactive

⚓ A collection of high-performance JavaScript tools.

⑂ 1.1k570
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
← Browse all repos