
Related: #36577 Release Notes: - N/A --------- Signed-off-by: Umesh Yadav <git@umesh.dev>
963 lines
32 KiB
TOML
963 lines
32 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/acp_thread",
|
|
"crates/action_log",
|
|
"crates/activity_indicator",
|
|
"crates/agent",
|
|
"crates/agent2",
|
|
"crates/agent_servers",
|
|
"crates/agent_settings",
|
|
"crates/agent_ui",
|
|
"crates/ai_onboarding",
|
|
"crates/anthropic",
|
|
"crates/askpass",
|
|
"crates/assets",
|
|
"crates/assistant_context",
|
|
"crates/assistant_slash_command",
|
|
"crates/assistant_slash_commands",
|
|
"crates/assistant_tool",
|
|
"crates/assistant_tools",
|
|
"crates/audio",
|
|
"crates/auto_update",
|
|
"crates/auto_update_helper",
|
|
"crates/auto_update_ui",
|
|
"crates/aws_http_client",
|
|
"crates/bedrock",
|
|
"crates/breadcrumbs",
|
|
"crates/buffer_diff",
|
|
"crates/call",
|
|
"crates/channel",
|
|
"crates/cli",
|
|
"crates/client",
|
|
"crates/clock",
|
|
"crates/cloud_api_client",
|
|
"crates/cloud_api_types",
|
|
"crates/cloud_llm_client",
|
|
"crates/collab",
|
|
"crates/collab_ui",
|
|
"crates/collections",
|
|
"crates/command_palette",
|
|
"crates/command_palette_hooks",
|
|
"crates/component",
|
|
"crates/context_server",
|
|
"crates/copilot",
|
|
"crates/crashes",
|
|
"crates/credentials_provider",
|
|
"crates/dap",
|
|
"crates/dap_adapters",
|
|
"crates/db",
|
|
"crates/debug_adapter_extension",
|
|
"crates/debugger_tools",
|
|
"crates/debugger_ui",
|
|
"crates/deepseek",
|
|
"crates/diagnostics",
|
|
"crates/docs_preprocessor",
|
|
"crates/editor",
|
|
"crates/eval",
|
|
"crates/explorer_command_injector",
|
|
"crates/extension",
|
|
"crates/extension_api",
|
|
"crates/extension_cli",
|
|
"crates/extension_host",
|
|
"crates/extensions_ui",
|
|
"crates/feature_flags",
|
|
"crates/feedback",
|
|
"crates/file_finder",
|
|
"crates/file_icons",
|
|
"crates/fs",
|
|
"crates/fsevent",
|
|
"crates/fuzzy",
|
|
"crates/git",
|
|
"crates/git_hosting_providers",
|
|
"crates/git_ui",
|
|
"crates/go_to_line",
|
|
"crates/google_ai",
|
|
"crates/gpui",
|
|
"crates/gpui_macros",
|
|
"crates/gpui_tokio",
|
|
"crates/html_to_markdown",
|
|
"crates/http_client",
|
|
"crates/http_client_tls",
|
|
"crates/icons",
|
|
"crates/image_viewer",
|
|
"crates/edit_prediction",
|
|
"crates/edit_prediction_button",
|
|
"crates/inspector_ui",
|
|
"crates/install_cli",
|
|
"crates/jj",
|
|
"crates/jj_ui",
|
|
"crates/journal",
|
|
"crates/language",
|
|
"crates/language_extension",
|
|
"crates/language_model",
|
|
"crates/language_models",
|
|
"crates/language_selector",
|
|
"crates/language_tools",
|
|
"crates/languages",
|
|
"crates/livekit_api",
|
|
"crates/livekit_client",
|
|
"crates/lmstudio",
|
|
"crates/lsp",
|
|
"crates/markdown",
|
|
"crates/markdown_preview",
|
|
"crates/media",
|
|
"crates/menu",
|
|
"crates/migrator",
|
|
"crates/mistral",
|
|
"crates/multi_buffer",
|
|
"crates/nc",
|
|
"crates/net",
|
|
"crates/node_runtime",
|
|
"crates/notifications",
|
|
"crates/ollama",
|
|
"crates/onboarding",
|
|
"crates/open_ai",
|
|
"crates/open_router",
|
|
"crates/outline",
|
|
"crates/outline_panel",
|
|
"crates/panel",
|
|
"crates/paths",
|
|
"crates/picker",
|
|
"crates/prettier",
|
|
"crates/project",
|
|
"crates/project_panel",
|
|
"crates/project_symbols",
|
|
"crates/prompt_store",
|
|
"crates/proto",
|
|
"crates/recent_projects",
|
|
"crates/refineable",
|
|
"crates/refineable/derive_refineable",
|
|
"crates/release_channel",
|
|
"crates/remote",
|
|
"crates/remote_server",
|
|
"crates/repl",
|
|
"crates/reqwest_client",
|
|
"crates/rich_text",
|
|
"crates/rope",
|
|
"crates/rpc",
|
|
"crates/rules_library",
|
|
"crates/schema_generator",
|
|
"crates/search",
|
|
"crates/semantic_index",
|
|
"crates/semantic_version",
|
|
"crates/session",
|
|
"crates/settings",
|
|
"crates/settings_profile_selector",
|
|
"crates/settings_ui",
|
|
"crates/snippet",
|
|
"crates/snippet_provider",
|
|
"crates/snippets_ui",
|
|
"crates/sqlez",
|
|
"crates/sqlez_macros",
|
|
"crates/story",
|
|
"crates/storybook",
|
|
"crates/streaming_diff",
|
|
"crates/sum_tree",
|
|
"crates/supermaven",
|
|
"crates/supermaven_api",
|
|
"crates/svg_preview",
|
|
"crates/tab_switcher",
|
|
"crates/task",
|
|
"crates/tasks_ui",
|
|
"crates/telemetry",
|
|
"crates/telemetry_events",
|
|
"crates/terminal",
|
|
"crates/terminal_view",
|
|
"crates/text",
|
|
"crates/theme",
|
|
"crates/theme_extension",
|
|
"crates/theme_importer",
|
|
"crates/theme_selector",
|
|
"crates/time_format",
|
|
"crates/title_bar",
|
|
"crates/toolchain_selector",
|
|
"crates/ui",
|
|
"crates/ui_input",
|
|
"crates/ui_macros",
|
|
"crates/ui_prompt",
|
|
"crates/util",
|
|
"crates/util_macros",
|
|
"crates/vercel",
|
|
"crates/vim",
|
|
"crates/vim_mode_setting",
|
|
"crates/watch",
|
|
"crates/web_search",
|
|
"crates/web_search_providers",
|
|
"crates/workspace",
|
|
"crates/worktree",
|
|
"crates/x_ai",
|
|
"crates/zed",
|
|
"crates/zed_actions",
|
|
"crates/zeta",
|
|
"crates/zeta_cli",
|
|
"crates/zlog",
|
|
"crates/zlog_settings",
|
|
|
|
#
|
|
# Extensions
|
|
#
|
|
|
|
"extensions/glsl",
|
|
"extensions/html",
|
|
"extensions/proto",
|
|
"extensions/ruff",
|
|
"extensions/slash-commands-example",
|
|
"extensions/snippets",
|
|
"extensions/test-extension",
|
|
"extensions/toml",
|
|
|
|
#
|
|
# Tooling
|
|
#
|
|
|
|
"tooling/workspace-hack",
|
|
"tooling/xtask",
|
|
]
|
|
default-members = ["crates/zed"]
|
|
|
|
[workspace.package]
|
|
publish = false
|
|
edition = "2024"
|
|
|
|
[workspace.dependencies]
|
|
|
|
#
|
|
# Workspace member crates
|
|
#
|
|
|
|
acp_thread = { path = "crates/acp_thread" }
|
|
action_log = { path = "crates/action_log" }
|
|
agent = { path = "crates/agent" }
|
|
agent2 = { path = "crates/agent2" }
|
|
activity_indicator = { path = "crates/activity_indicator" }
|
|
agent_ui = { path = "crates/agent_ui" }
|
|
agent_settings = { path = "crates/agent_settings" }
|
|
agent_servers = { path = "crates/agent_servers" }
|
|
ai = { path = "crates/ai" }
|
|
ai_onboarding = { path = "crates/ai_onboarding" }
|
|
anthropic = { path = "crates/anthropic" }
|
|
askpass = { path = "crates/askpass" }
|
|
assets = { path = "crates/assets" }
|
|
assistant_context = { path = "crates/assistant_context" }
|
|
assistant_slash_command = { path = "crates/assistant_slash_command" }
|
|
assistant_slash_commands = { path = "crates/assistant_slash_commands" }
|
|
assistant_tool = { path = "crates/assistant_tool" }
|
|
assistant_tools = { path = "crates/assistant_tools" }
|
|
audio = { path = "crates/audio" }
|
|
auto_update = { path = "crates/auto_update" }
|
|
auto_update_helper = { path = "crates/auto_update_helper" }
|
|
auto_update_ui = { path = "crates/auto_update_ui" }
|
|
aws_http_client = { path = "crates/aws_http_client" }
|
|
bedrock = { path = "crates/bedrock" }
|
|
breadcrumbs = { path = "crates/breadcrumbs" }
|
|
buffer_diff = { path = "crates/buffer_diff" }
|
|
call = { path = "crates/call" }
|
|
channel = { path = "crates/channel" }
|
|
cli = { path = "crates/cli" }
|
|
client = { path = "crates/client" }
|
|
clock = { path = "crates/clock" }
|
|
cloud_api_client = { path = "crates/cloud_api_client" }
|
|
cloud_api_types = { path = "crates/cloud_api_types" }
|
|
cloud_llm_client = { path = "crates/cloud_llm_client" }
|
|
collab = { path = "crates/collab" }
|
|
collab_ui = { path = "crates/collab_ui" }
|
|
collections = { path = "crates/collections" }
|
|
command_palette = { path = "crates/command_palette" }
|
|
command_palette_hooks = { path = "crates/command_palette_hooks" }
|
|
component = { path = "crates/component" }
|
|
context_server = { path = "crates/context_server" }
|
|
copilot = { path = "crates/copilot" }
|
|
crashes = { path = "crates/crashes" }
|
|
credentials_provider = { path = "crates/credentials_provider" }
|
|
dap = { path = "crates/dap" }
|
|
dap_adapters = { path = "crates/dap_adapters" }
|
|
db = { path = "crates/db" }
|
|
debug_adapter_extension = { path = "crates/debug_adapter_extension" }
|
|
debugger_tools = { path = "crates/debugger_tools" }
|
|
debugger_ui = { path = "crates/debugger_ui" }
|
|
deepseek = { path = "crates/deepseek" }
|
|
diagnostics = { path = "crates/diagnostics" }
|
|
editor = { path = "crates/editor" }
|
|
extension = { path = "crates/extension" }
|
|
extension_host = { path = "crates/extension_host" }
|
|
extensions_ui = { path = "crates/extensions_ui" }
|
|
feature_flags = { path = "crates/feature_flags" }
|
|
feedback = { path = "crates/feedback" }
|
|
file_finder = { path = "crates/file_finder" }
|
|
file_icons = { path = "crates/file_icons" }
|
|
fs = { path = "crates/fs" }
|
|
fsevent = { path = "crates/fsevent" }
|
|
fuzzy = { path = "crates/fuzzy" }
|
|
git = { path = "crates/git" }
|
|
git_hosting_providers = { path = "crates/git_hosting_providers" }
|
|
git_ui = { path = "crates/git_ui" }
|
|
go_to_line = { path = "crates/go_to_line" }
|
|
google_ai = { path = "crates/google_ai" }
|
|
gpui = { path = "crates/gpui", default-features = false, features = [
|
|
"http_client",
|
|
] }
|
|
gpui_macros = { path = "crates/gpui_macros" }
|
|
gpui_tokio = { path = "crates/gpui_tokio" }
|
|
html_to_markdown = { path = "crates/html_to_markdown" }
|
|
http_client = { path = "crates/http_client" }
|
|
http_client_tls = { path = "crates/http_client_tls" }
|
|
icons = { path = "crates/icons" }
|
|
image_viewer = { path = "crates/image_viewer" }
|
|
edit_prediction = { path = "crates/edit_prediction" }
|
|
edit_prediction_button = { path = "crates/edit_prediction_button" }
|
|
inspector_ui = { path = "crates/inspector_ui" }
|
|
install_cli = { path = "crates/install_cli" }
|
|
jj = { path = "crates/jj" }
|
|
jj_ui = { path = "crates/jj_ui" }
|
|
journal = { path = "crates/journal" }
|
|
language = { path = "crates/language" }
|
|
language_extension = { path = "crates/language_extension" }
|
|
language_model = { path = "crates/language_model" }
|
|
language_models = { path = "crates/language_models" }
|
|
language_selector = { path = "crates/language_selector" }
|
|
language_tools = { path = "crates/language_tools" }
|
|
languages = { path = "crates/languages" }
|
|
livekit_api = { path = "crates/livekit_api" }
|
|
livekit_client = { path = "crates/livekit_client" }
|
|
lmstudio = { path = "crates/lmstudio" }
|
|
lsp = { path = "crates/lsp" }
|
|
markdown = { path = "crates/markdown" }
|
|
markdown_preview = { path = "crates/markdown_preview" }
|
|
svg_preview = { path = "crates/svg_preview" }
|
|
media = { path = "crates/media" }
|
|
menu = { path = "crates/menu" }
|
|
migrator = { path = "crates/migrator" }
|
|
mistral = { path = "crates/mistral" }
|
|
multi_buffer = { path = "crates/multi_buffer" }
|
|
nc = { path = "crates/nc" }
|
|
net = { path = "crates/net" }
|
|
node_runtime = { path = "crates/node_runtime" }
|
|
notifications = { path = "crates/notifications" }
|
|
ollama = { path = "crates/ollama" }
|
|
onboarding = { path = "crates/onboarding" }
|
|
open_ai = { path = "crates/open_ai" }
|
|
open_router = { path = "crates/open_router", features = ["schemars"] }
|
|
outline = { path = "crates/outline" }
|
|
outline_panel = { path = "crates/outline_panel" }
|
|
panel = { path = "crates/panel" }
|
|
paths = { path = "crates/paths" }
|
|
picker = { path = "crates/picker" }
|
|
plugin = { path = "crates/plugin" }
|
|
plugin_macros = { path = "crates/plugin_macros" }
|
|
prettier = { path = "crates/prettier" }
|
|
settings_profile_selector = { path = "crates/settings_profile_selector" }
|
|
project = { path = "crates/project" }
|
|
project_panel = { path = "crates/project_panel" }
|
|
project_symbols = { path = "crates/project_symbols" }
|
|
prompt_store = { path = "crates/prompt_store" }
|
|
proto = { path = "crates/proto" }
|
|
recent_projects = { path = "crates/recent_projects" }
|
|
refineable = { path = "crates/refineable" }
|
|
release_channel = { path = "crates/release_channel" }
|
|
remote = { path = "crates/remote" }
|
|
remote_server = { path = "crates/remote_server" }
|
|
repl = { path = "crates/repl" }
|
|
reqwest_client = { path = "crates/reqwest_client" }
|
|
rich_text = { path = "crates/rich_text" }
|
|
rodio = { version = "0.21.1", default-features = false }
|
|
rope = { path = "crates/rope" }
|
|
rpc = { path = "crates/rpc" }
|
|
rules_library = { path = "crates/rules_library" }
|
|
search = { path = "crates/search" }
|
|
semantic_index = { path = "crates/semantic_index" }
|
|
semantic_version = { path = "crates/semantic_version" }
|
|
session = { path = "crates/session" }
|
|
settings = { path = "crates/settings" }
|
|
settings_ui = { path = "crates/settings_ui" }
|
|
snippet = { path = "crates/snippet" }
|
|
snippet_provider = { path = "crates/snippet_provider" }
|
|
snippets_ui = { path = "crates/snippets_ui" }
|
|
sqlez = { path = "crates/sqlez" }
|
|
sqlez_macros = { path = "crates/sqlez_macros" }
|
|
story = { path = "crates/story" }
|
|
storybook = { path = "crates/storybook" }
|
|
streaming_diff = { path = "crates/streaming_diff" }
|
|
sum_tree = { path = "crates/sum_tree" }
|
|
supermaven = { path = "crates/supermaven" }
|
|
supermaven_api = { path = "crates/supermaven_api" }
|
|
tab_switcher = { path = "crates/tab_switcher" }
|
|
task = { path = "crates/task" }
|
|
tasks_ui = { path = "crates/tasks_ui" }
|
|
telemetry = { path = "crates/telemetry" }
|
|
telemetry_events = { path = "crates/telemetry_events" }
|
|
terminal = { path = "crates/terminal" }
|
|
terminal_view = { path = "crates/terminal_view" }
|
|
text = { path = "crates/text" }
|
|
theme = { path = "crates/theme" }
|
|
theme_extension = { path = "crates/theme_extension" }
|
|
theme_importer = { path = "crates/theme_importer" }
|
|
theme_selector = { path = "crates/theme_selector" }
|
|
time_format = { path = "crates/time_format" }
|
|
title_bar = { path = "crates/title_bar" }
|
|
toolchain_selector = { path = "crates/toolchain_selector" }
|
|
ui = { path = "crates/ui" }
|
|
ui_input = { path = "crates/ui_input" }
|
|
ui_macros = { path = "crates/ui_macros" }
|
|
ui_prompt = { path = "crates/ui_prompt" }
|
|
util = { path = "crates/util" }
|
|
util_macros = { path = "crates/util_macros" }
|
|
vercel = { path = "crates/vercel" }
|
|
vim = { path = "crates/vim" }
|
|
vim_mode_setting = { path = "crates/vim_mode_setting" }
|
|
|
|
watch = { path = "crates/watch" }
|
|
web_search = { path = "crates/web_search" }
|
|
web_search_providers = { path = "crates/web_search_providers" }
|
|
workspace = { path = "crates/workspace" }
|
|
worktree = { path = "crates/worktree" }
|
|
x_ai = { path = "crates/x_ai" }
|
|
zed = { path = "crates/zed" }
|
|
zed_actions = { path = "crates/zed_actions" }
|
|
zeta = { path = "crates/zeta" }
|
|
zlog = { path = "crates/zlog" }
|
|
zlog_settings = { path = "crates/zlog_settings" }
|
|
|
|
#
|
|
# External crates
|
|
#
|
|
|
|
agentic-coding-protocol = "0.0.10"
|
|
agent-client-protocol = "0.0.26"
|
|
aho-corasick = "1.1"
|
|
alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
|
|
any_vec = "0.14"
|
|
anyhow = "1.0.86"
|
|
arrayvec = { version = "0.7.4", features = ["serde"] }
|
|
ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
|
|
async-compat = "0.2.1"
|
|
async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
|
|
async-dispatcher = "0.1"
|
|
async-fs = "2.1"
|
|
async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
|
|
async-recursion = "1.0.0"
|
|
async-tar = "0.5.0"
|
|
async-trait = "0.1"
|
|
async-tungstenite = "0.29.1"
|
|
async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
|
|
aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
|
|
aws-credential-types = { version = "1.2.2", features = [
|
|
"hardcoded-credentials",
|
|
] }
|
|
aws-sdk-bedrockruntime = { version = "1.80.0", features = [
|
|
"behavior-version-latest",
|
|
] }
|
|
aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
|
|
aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
|
|
base64 = "0.22"
|
|
bitflags = "2.6.0"
|
|
blade-graphics = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
|
|
blade-macros = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
|
|
blade-util = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
|
|
blake3 = "1.5.3"
|
|
bytes = "1.0"
|
|
cargo_metadata = "0.19"
|
|
cargo_toml = "0.21"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
ciborium = "0.2"
|
|
circular-buffer = "1.0"
|
|
clap = { version = "4.4", features = ["derive"] }
|
|
cocoa = "0.26"
|
|
cocoa-foundation = "0.2.0"
|
|
convert_case = "0.8.0"
|
|
core-foundation = "0.10.0"
|
|
core-foundation-sys = "0.8.6"
|
|
core-video = { version = "0.4.3", features = ["metal"] }
|
|
cpal = "0.16"
|
|
crash-handler = "0.6"
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
ctor = "0.4.0"
|
|
dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
|
|
dashmap = "6.0"
|
|
derive_more = "0.99.17"
|
|
dirs = "4.0"
|
|
documented = "0.9.1"
|
|
dotenvy = "0.15.0"
|
|
ec4rs = "1.1"
|
|
emojis = "0.6.1"
|
|
env_logger = "0.11"
|
|
exec = "0.3.1"
|
|
fancy-regex = "0.14.0"
|
|
fork = "0.2.0"
|
|
futures = "0.3"
|
|
futures-batch = "0.6.1"
|
|
futures-lite = "1.13"
|
|
git2 = { version = "0.20.1", default-features = false }
|
|
globset = "0.4"
|
|
handlebars = "4.3"
|
|
heck = "0.5"
|
|
heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
|
|
hex = "0.4.3"
|
|
html5ever = "0.27.0"
|
|
http = "1.1"
|
|
http-body = "1.0"
|
|
hyper = "0.14"
|
|
ignore = "0.4.22"
|
|
image = "0.25.1"
|
|
imara-diff = "0.1.8"
|
|
indexmap = { version = "2.7.0", features = ["serde"] }
|
|
indoc = "2"
|
|
inventory = "0.3.19"
|
|
itertools = "0.14.0"
|
|
jj-lib = { git = "https://github.com/jj-vcs/jj", rev = "e18eb8e05efaa153fad5ef46576af145bba1807f" }
|
|
json_dotpath = "1.1"
|
|
jsonschema = "0.30.0"
|
|
jsonwebtoken = "9.3"
|
|
jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
|
|
jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
|
|
libc = "0.2"
|
|
libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
|
|
linkify = "0.10.0"
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
|
|
lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "39f629bdd03d59abd786ed9fc27e8bca02c0c0ec" }
|
|
mach2 = "0.5"
|
|
markup5ever_rcdom = "0.3.0"
|
|
metal = "0.29"
|
|
minidumper = "0.8"
|
|
moka = { version = "0.12.10", features = ["sync"] }
|
|
naga = { version = "25.0", features = ["wgsl-in"] }
|
|
nanoid = "0.4"
|
|
nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
|
|
nix = "0.29"
|
|
num-format = "0.4.4"
|
|
objc = "0.2"
|
|
open = "5.0.0"
|
|
ordered-float = "2.1.1"
|
|
palette = { version = "0.7.5", default-features = false, features = ["std"] }
|
|
parking_lot = "0.12.1"
|
|
partial-json-fixer = "0.5.3"
|
|
parse_int = "0.9"
|
|
pathdiff = "0.2"
|
|
pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
|
|
portable-pty = "0.9.0"
|
|
postage = { version = "0.5", features = ["futures-traits"] }
|
|
pretty_assertions = { version = "1.3.0", features = ["unstable"] }
|
|
proc-macro2 = "1.0.93"
|
|
profiling = "1"
|
|
prost = "0.9"
|
|
prost-build = "0.9"
|
|
prost-types = "0.9"
|
|
pulldown-cmark = { version = "0.12.0", default-features = false }
|
|
quote = "1.0.9"
|
|
rand = "0.8.5"
|
|
rayon = "1.8"
|
|
ref-cast = "1.0.24"
|
|
regex = "1.5"
|
|
reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
|
|
"charset",
|
|
"http2",
|
|
"macos-system-configuration",
|
|
"multipart",
|
|
"rustls-tls-native-roots",
|
|
"socks",
|
|
"stream",
|
|
] }
|
|
rsa = "0.9.6"
|
|
runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
|
|
"async-dispatcher-runtime",
|
|
] }
|
|
rust-embed = { version = "8.4", features = ["include-exclude"] }
|
|
rustc-demangle = "0.1.23"
|
|
rustc-hash = "2.1.0"
|
|
rustls = { version = "0.23.26" }
|
|
rustls-platform-verifier = "0.5.0"
|
|
scap = { git = "https://github.com/zed-industries/scap", rev = "808aa5c45b41e8f44729d02e38fd00a2fe2722e7", default-features = false }
|
|
schemars = { version = "1.0", features = ["indexmap2"] }
|
|
semver = "1.0"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
|
|
serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
|
|
serde_json_lenient = { version = "0.2", features = [
|
|
"preserve_order",
|
|
"raw_value",
|
|
] }
|
|
serde_repr = "0.1"
|
|
serde_urlencoded = "0.7"
|
|
sha2 = "0.10"
|
|
shellexpand = "2.1.0"
|
|
shlex = "1.3.0"
|
|
simplelog = "0.12.2"
|
|
smallvec = { version = "1.6", features = ["union"] }
|
|
smol = "2.0"
|
|
sqlformat = "0.2"
|
|
stacksafe = "0.1"
|
|
streaming-iterator = "0.1"
|
|
strsim = "0.11"
|
|
strum = { version = "0.27.0", features = ["derive"] }
|
|
subtle = "2.5.0"
|
|
syn = { version = "2.0.101", features = ["full", "extra-traits"] }
|
|
sys-locale = "0.3.1"
|
|
sysinfo = "0.31.0"
|
|
take-until = "0.2.0"
|
|
tempfile = "3.20.0"
|
|
thiserror = "2.0.12"
|
|
tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
|
|
time = { version = "0.3", features = [
|
|
"macros",
|
|
"parsing",
|
|
"serde",
|
|
"serde-well-known",
|
|
"formatting",
|
|
] }
|
|
tiny_http = "0.8"
|
|
tokio = { version = "1" }
|
|
tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
|
|
toml = "0.8"
|
|
tower-http = "0.4.4"
|
|
tree-sitter = { version = "0.25.6", features = ["wasm"] }
|
|
tree-sitter-bash = "0.25.0"
|
|
tree-sitter-c = "0.23"
|
|
tree-sitter-cpp = "0.23"
|
|
tree-sitter-css = "0.23"
|
|
tree-sitter-diff = "0.1.0"
|
|
tree-sitter-elixir = "0.3"
|
|
tree-sitter-embedded-template = "0.23.0"
|
|
tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
|
|
tree-sitter-go = "0.23"
|
|
tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
|
|
tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
|
|
tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
|
|
tree-sitter-html = "0.23"
|
|
tree-sitter-jsdoc = "0.23"
|
|
tree-sitter-json = "0.24"
|
|
tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
|
|
tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
|
|
tree-sitter-regex = "0.24"
|
|
tree-sitter-ruby = "0.23"
|
|
tree-sitter-rust = "0.24"
|
|
tree-sitter-typescript = "0.23"
|
|
tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
|
|
unicase = "2.6"
|
|
unicode-script = "0.5.7"
|
|
unicode-segmentation = "1.10"
|
|
unindent = "0.2.0"
|
|
url = "2.2"
|
|
urlencoding = "2.1.2"
|
|
uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
|
|
walkdir = "2.5"
|
|
wasm-encoder = "0.221"
|
|
wasmparser = "0.221"
|
|
wasmtime = { version = "29", default-features = false, features = [
|
|
"async",
|
|
"demangle",
|
|
"runtime",
|
|
"cranelift",
|
|
"component-model",
|
|
"incremental-cache",
|
|
"parallel-compilation",
|
|
] }
|
|
wasmtime-wasi = "29"
|
|
which = "6.0.0"
|
|
windows-core = "0.61"
|
|
wit-component = "0.221"
|
|
workspace-hack = "0.1.0"
|
|
yawc = "0.2.5"
|
|
zstd = "0.11"
|
|
|
|
[workspace.dependencies.windows]
|
|
version = "0.61"
|
|
features = [
|
|
"Foundation_Numerics",
|
|
"Storage_Search",
|
|
"Storage_Streams",
|
|
"System_Threading",
|
|
"UI_ViewManagement",
|
|
"Wdk_System_SystemServices",
|
|
"Win32_Globalization",
|
|
"Win32_Graphics_Direct3D",
|
|
"Win32_Graphics_Direct3D11",
|
|
"Win32_Graphics_Direct3D_Fxc",
|
|
"Win32_Graphics_DirectComposition",
|
|
"Win32_Graphics_DirectWrite",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Dxgi",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Graphics_Imaging",
|
|
"Win32_Networking_WinSock",
|
|
"Win32_Security",
|
|
"Win32_Security_Credentials",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Com",
|
|
"Win32_System_Com_StructuredStorage",
|
|
"Win32_System_Console",
|
|
"Win32_System_DataExchange",
|
|
"Win32_System_IO",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Memory",
|
|
"Win32_System_Ole",
|
|
"Win32_System_Performance",
|
|
"Win32_System_Pipes",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_Threading",
|
|
"Win32_System_Variant",
|
|
"Win32_System_WinRT",
|
|
"Win32_UI_Controls",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_UI_Input_Ime",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_Shell_Common",
|
|
"Win32_UI_Shell_PropertiesSystem",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
]
|
|
|
|
[patch.crates-io]
|
|
notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
|
|
notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
|
|
windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
|
|
|
|
# Makes the workspace hack crate refer to the local one, but only when you're building locally
|
|
workspace-hack = { path = "tooling/workspace-hack" }
|
|
|
|
[profile.dev]
|
|
split-debuginfo = "unpacked"
|
|
codegen-units = 16
|
|
|
|
# mirror configuration for crates compiled for the build platform
|
|
# (without this cargo will compile ~400 crates twice)
|
|
[profile.dev.build-override]
|
|
codegen-units = 16
|
|
|
|
[profile.dev.package]
|
|
taffy = { opt-level = 3 }
|
|
cranelift-codegen = { opt-level = 3 }
|
|
cranelift-codegen-meta = { opt-level = 3 }
|
|
cranelift-codegen-shared = { opt-level = 3 }
|
|
resvg = { opt-level = 3 }
|
|
rustybuzz = { opt-level = 3 }
|
|
ttf-parser = { opt-level = 3 }
|
|
wasmtime-cranelift = { opt-level = 3 }
|
|
wasmtime = { opt-level = 3 }
|
|
# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
|
|
activity_indicator = { codegen-units = 1 }
|
|
assets = { codegen-units = 1 }
|
|
breadcrumbs = { codegen-units = 1 }
|
|
collections = { codegen-units = 1 }
|
|
command_palette = { codegen-units = 1 }
|
|
command_palette_hooks = { codegen-units = 1 }
|
|
extension_cli = { codegen-units = 1 }
|
|
feature_flags = { codegen-units = 1 }
|
|
file_icons = { codegen-units = 1 }
|
|
fsevent = { codegen-units = 1 }
|
|
image_viewer = { codegen-units = 1 }
|
|
edit_prediction_button = { codegen-units = 1 }
|
|
install_cli = { codegen-units = 1 }
|
|
journal = { codegen-units = 1 }
|
|
lmstudio = { codegen-units = 1 }
|
|
menu = { codegen-units = 1 }
|
|
notifications = { codegen-units = 1 }
|
|
ollama = { codegen-units = 1 }
|
|
outline = { codegen-units = 1 }
|
|
paths = { codegen-units = 1 }
|
|
prettier = { codegen-units = 1 }
|
|
project_symbols = { codegen-units = 1 }
|
|
refineable = { codegen-units = 1 }
|
|
release_channel = { codegen-units = 1 }
|
|
reqwest_client = { codegen-units = 1 }
|
|
rich_text = { codegen-units = 1 }
|
|
semantic_version = { codegen-units = 1 }
|
|
session = { codegen-units = 1 }
|
|
snippet = { codegen-units = 1 }
|
|
snippets_ui = { codegen-units = 1 }
|
|
sqlez_macros = { codegen-units = 1 }
|
|
story = { codegen-units = 1 }
|
|
supermaven_api = { codegen-units = 1 }
|
|
telemetry_events = { codegen-units = 1 }
|
|
theme_selector = { codegen-units = 1 }
|
|
time_format = { codegen-units = 1 }
|
|
ui_input = { codegen-units = 1 }
|
|
zed_actions = { codegen-units = 1 }
|
|
|
|
[profile.release]
|
|
debug = "limited"
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
[profile.release.package]
|
|
zed = { codegen-units = 16 }
|
|
|
|
[profile.release-fast]
|
|
inherits = "release"
|
|
debug = "full"
|
|
lto = false
|
|
codegen-units = 16
|
|
|
|
[workspace.lints.rust]
|
|
unexpected_cfgs = { level = "allow" }
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "deny"
|
|
todo = "deny"
|
|
|
|
# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
|
|
# warning on this rule produces a lot of noise.
|
|
single_range_in_vec_init = "allow"
|
|
|
|
redundant_clone = "warn"
|
|
declare_interior_mutable_const = "deny"
|
|
|
|
# These are all of the rules that currently have violations in the Zed
|
|
# codebase.
|
|
#
|
|
# We'll want to drive this list down by either:
|
|
# 1. fixing violations of the rule and begin enforcing it
|
|
# 2. deciding we want to allow the rule permanently, at which point
|
|
# we should codify that separately above.
|
|
#
|
|
# This list shouldn't be added to; it should only get shorter.
|
|
# =============================================================================
|
|
|
|
# There are a bunch of rules currently failing in the `style` group, so
|
|
# allow all of those, for now.
|
|
style = { level = "allow", priority = -1 }
|
|
|
|
# Temporary list of style lints that we've fixed so far.
|
|
# Progress is being tracked in #36577
|
|
blocks_in_conditions = "warn"
|
|
bool_assert_comparison = "warn"
|
|
borrow_interior_mutable_const = "warn"
|
|
box_default = "warn"
|
|
builtin_type_shadow = "warn"
|
|
bytes_nth = "warn"
|
|
chars_next_cmp = "warn"
|
|
cmp_null = "warn"
|
|
collapsible_else_if = "warn"
|
|
collapsible_if = "warn"
|
|
comparison_to_empty = "warn"
|
|
default_instead_of_iter_empty = "warn"
|
|
disallowed_macros = "warn"
|
|
disallowed_methods = "warn"
|
|
disallowed_names = "warn"
|
|
disallowed_types = "warn"
|
|
doc_lazy_continuation = "warn"
|
|
doc_overindented_list_items = "warn"
|
|
duplicate_underscore_argument = "warn"
|
|
err_expect = "warn"
|
|
fn_to_numeric_cast = "warn"
|
|
fn_to_numeric_cast_with_truncation = "warn"
|
|
for_kv_map = "warn"
|
|
implicit_saturating_add = "warn"
|
|
implicit_saturating_sub = "warn"
|
|
inconsistent_digit_grouping = "warn"
|
|
infallible_destructuring_match = "warn"
|
|
inherent_to_string = "warn"
|
|
init_numbered_fields = "warn"
|
|
into_iter_on_ref = "warn"
|
|
io_other_error = "warn"
|
|
items_after_test_module = "warn"
|
|
iter_cloned_collect = "warn"
|
|
iter_next_slice = "warn"
|
|
iter_nth = "warn"
|
|
iter_nth_zero = "warn"
|
|
iter_skip_next = "warn"
|
|
just_underscores_and_digits = "warn"
|
|
len_zero = "warn"
|
|
let_and_return = "warn"
|
|
main_recursion = "warn"
|
|
manual_bits = "warn"
|
|
manual_dangling_ptr = "warn"
|
|
manual_is_ascii_check = "warn"
|
|
manual_is_finite = "warn"
|
|
manual_is_infinite = "warn"
|
|
manual_map = "warn"
|
|
manual_next_back = "warn"
|
|
manual_non_exhaustive = "warn"
|
|
manual_ok_or = "warn"
|
|
manual_pattern_char_comparison = "warn"
|
|
manual_rotate = "warn"
|
|
manual_slice_fill = "warn"
|
|
manual_while_let_some = "warn"
|
|
map_clone = "warn"
|
|
map_collect_result_unit = "warn"
|
|
match_like_matches_macro = "warn"
|
|
match_overlapping_arm = "warn"
|
|
mem_replace_option_with_none = "warn"
|
|
mem_replace_option_with_some = "warn"
|
|
missing_enforced_import_renames = "warn"
|
|
missing_safety_doc = "warn"
|
|
mixed_attributes_style = "warn"
|
|
mixed_case_hex_literals = "warn"
|
|
module_inception = "warn"
|
|
must_use_unit = "warn"
|
|
mut_mutex_lock = "warn"
|
|
needless_borrow = "warn"
|
|
needless_doctest_main = "warn"
|
|
needless_else = "warn"
|
|
needless_parens_on_range_literals = "warn"
|
|
needless_pub_self = "warn"
|
|
needless_return = "warn"
|
|
needless_return_with_question_mark = "warn"
|
|
ok_expect = "warn"
|
|
owned_cow = "warn"
|
|
print_literal = "warn"
|
|
print_with_newline = "warn"
|
|
ptr_eq = "warn"
|
|
question_mark = "warn"
|
|
redundant_closure = "warn"
|
|
redundant_field_names = "warn"
|
|
redundant_pattern_matching = "warn"
|
|
redundant_static_lifetimes = "warn"
|
|
result_map_or_into_option = "warn"
|
|
self_named_constructors = "warn"
|
|
single_match = "warn"
|
|
tabs_in_doc_comments = "warn"
|
|
to_digit_is_some = "warn"
|
|
toplevel_ref_arg = "warn"
|
|
unnecessary_fold = "warn"
|
|
unnecessary_map_or = "warn"
|
|
unnecessary_mut_passed = "warn"
|
|
unnecessary_owned_empty_strings = "warn"
|
|
unneeded_struct_pattern = "warn"
|
|
unsafe_removed_from_name = "warn"
|
|
unused_unit = "warn"
|
|
unusual_byte_groupings = "warn"
|
|
write_literal = "warn"
|
|
writeln_empty_string = "warn"
|
|
wrong_self_convention = "warn"
|
|
zero_ptr = "warn"
|
|
|
|
# Individual rules that have violations in the codebase:
|
|
type_complexity = "allow"
|
|
# We often return trait objects from `new` functions.
|
|
new_ret_no_self = { level = "allow" }
|
|
# We have a few `next` functions that differ in lifetimes
|
|
# compared to Iterator::next. Yet, clippy complains about those.
|
|
should_implement_trait = { level = "allow" }
|
|
let_underscore_future = "allow"
|
|
# It doesn't make sense to implement `Default` unilaterally.
|
|
new_without_default = "allow"
|
|
|
|
# in Rust it can be very tedious to reduce argument count without
|
|
# running afoul of the borrow checker.
|
|
too_many_arguments = "allow"
|
|
|
|
# We often have large enum variants yet we rarely actually bother with splitting them up.
|
|
large_enum_variant = "allow"
|
|
|
|
# `enum_variant_names` fires for all enums, even when they derive serde traits.
|
|
# Adhering to this lint would be a breaking change.
|
|
enum_variant_names = "allow"
|
|
|
|
[workspace.metadata.cargo-machete]
|
|
ignored = [
|
|
"bindgen",
|
|
"cbindgen",
|
|
"prost_build",
|
|
"serde",
|
|
"component",
|
|
"documented",
|
|
"workspace-hack",
|
|
]
|