zed-industries/zed
Dependencies
Notable third-party Rust crates Zed depends on. The full list is the workspace [dependencies] block in Cargo.toml. This page surfaces the ones that shape the architecture.
Async runtime
smol— the async runtime GPUI builds on (foreground). Zed uses GPUI's executor as the primary runtime and bridges Tokio where necessary.tokio— used by HTTP clients, gRPC, LiveKit; bridged viacrates/gpui_tokio.futures— combinators (used everywhere).
UI / rendering
wgpu— cross-platform GPU backend used bycrates/gpui_wgpu.cosmic-text— text shaping / layout (in some platforms).alacritty_terminal— terminal grid and parsing forcrates/terminal.
Editor / parsing
tree-sitter— incremental parser. Grammars are wrapped viacrates/grammarsand bundled per-language.
Serialization
serde+serde_json— settings, keymaps, all JSON I/O.prost— protobuf code generation forcrates/proto.toml—Cargo.tomlparsing in build tools, plus extension manifests.
Networking
reqwest(viacrates/reqwest_client) — HTTP client.hyper— used internally by collab.tungstenite/tokio-tungstenite— WebSocket (in collab).
Cryptography
ring— TLS / crypto primitives (viarustls).rustls— TLS transport.
Storage
sqlx(Postgres) — collab backend ORM.rusqlite/sqlez(crates/sqlez) — local SQLite for client-side persistence.
Errors and logging
anyhow— application errors.thiserror— typed library errors.log+ project'scrates/zlog— logging.sentry(incrates/crashes) — crash reporting.
Misc heavy hitters
smallvec,arrayvec,compact_str— perf-oriented containers.parking_lot— faster mutexes.indexmap— order-preserving hashmap.uuid— IDs.unicode-segmentation— text boundaries.globset— search filters.tempfile— sandboxed temp paths in tests.walkdir— directory traversal in CLI and bundling.clap— CLI argument parsing.
License vetting
License compliance is enforced by cargo-about with rules in script/licenses/zed-licenses.toml. The CI workflow compliance_check.yml runs script/check-licenses. New deps may need an SPDX entry or a clarification.
The license tooling generates the bundled "Open-Source Software" page (crates/zed/contents/...) so users see attribution for everything shipped.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.