1[workspace]
2resolver = "2"
3members = [
4 "crates/activity_indicator",
5 "crates/anthropic",
6 "crates/assets",
7 "crates/assistant",
8 "crates/assistant_slash_command",
9 "crates/assistant_tool",
10 "crates/audio",
11 "crates/auto_update",
12 "crates/breadcrumbs",
13 "crates/call",
14 "crates/channel",
15 "crates/cli",
16 "crates/client",
17 "crates/clock",
18 "crates/collab",
19 "crates/collab_ui",
20 "crates/collections",
21 "crates/command_palette",
22 "crates/command_palette_hooks",
23 "crates/context_servers",
24 "crates/copilot",
25 "crates/db",
26 "crates/diagnostics",
27 "crates/docs_preprocessor",
28 "crates/editor",
29 "crates/evals",
30 "crates/extension",
31 "crates/extension_api",
32 "crates/extension_cli",
33 "crates/extension_host",
34 "crates/extensions_ui",
35 "crates/feature_flags",
36 "crates/feedback",
37 "crates/file_finder",
38 "crates/file_icons",
39 "crates/fs",
40 "crates/fsevent",
41 "crates/fuzzy",
42 "crates/git",
43 "crates/git_hosting_providers",
44 "crates/go_to_line",
45 "crates/google_ai",
46 "crates/gpui",
47 "crates/gpui_macros",
48 "crates/html_to_markdown",
49 "crates/http_client",
50 "crates/image_viewer",
51 "crates/indexed_docs",
52 "crates/inline_completion",
53 "crates/inline_completion_button",
54 "crates/install_cli",
55 "crates/journal",
56 "crates/language",
57 "crates/language_model",
58 "crates/language_models",
59 "crates/language_selector",
60 "crates/language_tools",
61 "crates/languages",
62 "crates/live_kit_client",
63 "crates/live_kit_server",
64 "crates/lsp",
65 "crates/markdown",
66 "crates/markdown_preview",
67 "crates/media",
68 "crates/menu",
69 "crates/multi_buffer",
70 "crates/node_runtime",
71 "crates/notifications",
72 "crates/ollama",
73 "crates/open_ai",
74 "crates/outline",
75 "crates/outline_panel",
76 "crates/paths",
77 "crates/picker",
78 "crates/prettier",
79 "crates/project",
80 "crates/project_panel",
81 "crates/project_symbols",
82 "crates/proto",
83 "crates/quick_action_bar",
84 "crates/recent_projects",
85 "crates/refineable",
86 "crates/refineable/derive_refineable",
87 "crates/release_channel",
88 "crates/remote",
89 "crates/remote_server",
90 "crates/repl",
91 "crates/reqwest_client",
92 "crates/rich_text",
93 "crates/rope",
94 "crates/rpc",
95 "crates/search",
96 "crates/semantic_index",
97 "crates/semantic_version",
98 "crates/session",
99 "crates/settings",
100 "crates/settings_ui",
101 "crates/snippet",
102 "crates/snippet_provider",
103 "crates/snippets_ui",
104 "crates/sqlez",
105 "crates/sqlez_macros",
106 "crates/story",
107 "crates/storybook",
108 "crates/sum_tree",
109 "crates/supermaven",
110 "crates/supermaven_api",
111 "crates/tab_switcher",
112 "crates/task",
113 "crates/tasks_ui",
114 "crates/telemetry_events",
115 "crates/terminal",
116 "crates/terminal_view",
117 "crates/text",
118 "crates/theme",
119 "crates/theme_importer",
120 "crates/theme_selector",
121 "crates/time_format",
122 "crates/title_bar",
123 "crates/toolchain_selector",
124 "crates/ui",
125 "crates/ui_input",
126 "crates/ui_macros",
127 "crates/reqwest_client",
128 "crates/util",
129 "crates/vcs_menu",
130 "crates/vim",
131 "crates/welcome",
132 "crates/workspace",
133 "crates/worktree",
134 "crates/zed",
135 "crates/zed_actions",
136
137 #
138 # Extensions
139 #
140
141 "extensions/astro",
142 "extensions/clojure",
143 "extensions/csharp",
144 "extensions/deno",
145 "extensions/elixir",
146 "extensions/elm",
147 "extensions/emmet",
148 "extensions/erlang",
149 "extensions/glsl",
150 "extensions/haskell",
151 "extensions/html",
152 "extensions/lua",
153 "extensions/php",
154 "extensions/perplexity",
155 "extensions/prisma",
156 "extensions/proto",
157 "extensions/purescript",
158 "extensions/ruff",
159 "extensions/slash-commands-example",
160 "extensions/snippets",
161 "extensions/terraform",
162 "extensions/test-extension",
163 "extensions/toml",
164 "extensions/uiua",
165 "extensions/zig",
166
167 #
168 # Tooling
169 #
170
171 "tooling/xtask",
172]
173default-members = ["crates/zed"]
174
175[workspace.dependencies]
176
177#
178# Workspace member crates
179#
180
181activity_indicator = { path = "crates/activity_indicator" }
182ai = { path = "crates/ai" }
183anthropic = { path = "crates/anthropic" }
184assets = { path = "crates/assets" }
185assistant = { path = "crates/assistant" }
186assistant_slash_command = { path = "crates/assistant_slash_command" }
187assistant_tool = { path = "crates/assistant_tool" }
188audio = { path = "crates/audio" }
189auto_update = { path = "crates/auto_update" }
190breadcrumbs = { path = "crates/breadcrumbs" }
191call = { path = "crates/call" }
192channel = { path = "crates/channel" }
193cli = { path = "crates/cli" }
194client = { path = "crates/client" }
195clock = { path = "crates/clock" }
196collab = { path = "crates/collab" }
197collab_ui = { path = "crates/collab_ui" }
198collections = { path = "crates/collections" }
199command_palette = { path = "crates/command_palette" }
200command_palette_hooks = { path = "crates/command_palette_hooks" }
201context_servers = { path = "crates/context_servers" }
202copilot = { path = "crates/copilot" }
203db = { path = "crates/db" }
204diagnostics = { path = "crates/diagnostics" }
205editor = { path = "crates/editor" }
206extension = { path = "crates/extension" }
207extension_host = { path = "crates/extension_host" }
208extensions_ui = { path = "crates/extensions_ui" }
209feature_flags = { path = "crates/feature_flags" }
210feedback = { path = "crates/feedback" }
211file_finder = { path = "crates/file_finder" }
212file_icons = { path = "crates/file_icons" }
213fs = { path = "crates/fs" }
214fsevent = { path = "crates/fsevent" }
215fuzzy = { path = "crates/fuzzy" }
216git = { path = "crates/git" }
217git_hosting_providers = { path = "crates/git_hosting_providers" }
218go_to_line = { path = "crates/go_to_line" }
219google_ai = { path = "crates/google_ai" }
220gpui = { path = "crates/gpui", default-features = false, features = ["http_client"]}
221gpui_macros = { path = "crates/gpui_macros" }
222html_to_markdown = { path = "crates/html_to_markdown" }
223http_client = { path = "crates/http_client" }
224image_viewer = { path = "crates/image_viewer" }
225indexed_docs = { path = "crates/indexed_docs" }
226inline_completion = { path = "crates/inline_completion" }
227inline_completion_button = { path = "crates/inline_completion_button" }
228install_cli = { path = "crates/install_cli" }
229journal = { path = "crates/journal" }
230language = { path = "crates/language" }
231language_model = { path = "crates/language_model" }
232language_models = { path = "crates/language_models" }
233language_selector = { path = "crates/language_selector" }
234language_tools = { path = "crates/language_tools" }
235languages = { path = "crates/languages" }
236live_kit_client = { path = "crates/live_kit_client" }
237live_kit_server = { path = "crates/live_kit_server" }
238lsp = { path = "crates/lsp" }
239markdown = { path = "crates/markdown" }
240markdown_preview = { path = "crates/markdown_preview" }
241media = { path = "crates/media" }
242menu = { path = "crates/menu" }
243multi_buffer = { path = "crates/multi_buffer" }
244node_runtime = { path = "crates/node_runtime" }
245notifications = { path = "crates/notifications" }
246ollama = { path = "crates/ollama" }
247open_ai = { path = "crates/open_ai" }
248outline = { path = "crates/outline" }
249outline_panel = { path = "crates/outline_panel" }
250paths = { path = "crates/paths" }
251picker = { path = "crates/picker" }
252plugin = { path = "crates/plugin" }
253plugin_macros = { path = "crates/plugin_macros" }
254prettier = { path = "crates/prettier" }
255project = { path = "crates/project" }
256project_panel = { path = "crates/project_panel" }
257project_symbols = { path = "crates/project_symbols" }
258proto = { path = "crates/proto" }
259quick_action_bar = { path = "crates/quick_action_bar" }
260recent_projects = { path = "crates/recent_projects" }
261refineable = { path = "crates/refineable" }
262release_channel = { path = "crates/release_channel" }
263remote = { path = "crates/remote" }
264remote_server = { path = "crates/remote_server" }
265repl = { path = "crates/repl" }
266reqwest_client = { path = "crates/reqwest_client" }
267rich_text = { path = "crates/rich_text" }
268rope = { path = "crates/rope" }
269rpc = { path = "crates/rpc" }
270search = { path = "crates/search" }
271semantic_index = { path = "crates/semantic_index" }
272semantic_version = { path = "crates/semantic_version" }
273session = { path = "crates/session" }
274settings = { path = "crates/settings" }
275settings_ui = { path = "crates/settings_ui" }
276snippet = { path = "crates/snippet" }
277snippet_provider = { path = "crates/snippet_provider" }
278snippets_ui = { path = "crates/snippets_ui" }
279sqlez = { path = "crates/sqlez" }
280sqlez_macros = { path = "crates/sqlez_macros" }
281story = { path = "crates/story" }
282storybook = { path = "crates/storybook" }
283sum_tree = { path = "crates/sum_tree" }
284supermaven = { path = "crates/supermaven" }
285supermaven_api = { path = "crates/supermaven_api" }
286tab_switcher = { path = "crates/tab_switcher" }
287task = { path = "crates/task" }
288tasks_ui = { path = "crates/tasks_ui" }
289telemetry_events = { path = "crates/telemetry_events" }
290terminal = { path = "crates/terminal" }
291terminal_view = { path = "crates/terminal_view" }
292text = { path = "crates/text" }
293theme = { path = "crates/theme" }
294theme_importer = { path = "crates/theme_importer" }
295theme_selector = { path = "crates/theme_selector" }
296time_format = { path = "crates/time_format" }
297title_bar = { path = "crates/title_bar" }
298toolchain_selector = { path = "crates/toolchain_selector" }
299ui = { path = "crates/ui" }
300ui_input = { path = "crates/ui_input" }
301ui_macros = { path = "crates/ui_macros" }
302util = { path = "crates/util" }
303vcs_menu = { path = "crates/vcs_menu" }
304vim = { path = "crates/vim" }
305welcome = { path = "crates/welcome" }
306workspace = { path = "crates/workspace" }
307worktree = { path = "crates/worktree" }
308zed = { path = "crates/zed" }
309zed_actions = { path = "crates/zed_actions" }
310
311#
312# External crates
313#
314
315aho-corasick = "1.1"
316alacritty_terminal = { git = "https://github.com/alacritty/alacritty", rev = "91d034ff8b53867143c005acfaa14609147c9a2c" }
317any_vec = "0.14"
318anyhow = "1.0.86"
319arrayvec = { version = "0.7.4", features = ["serde"] }
320ashpd = "0.9.1"
321async-compat = "0.2.1"
322async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
323async-dispatcher = "0.1"
324async-fs = "1.6"
325async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
326async-recursion = "1.0.0"
327async-tar = "0.5.0"
328async-trait = "0.1"
329async-tungstenite = "0.28"
330async-watch = "0.3.1"
331async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
332base64 = "0.22"
333bitflags = "2.6.0"
334blade-graphics = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
335blade-macros = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
336blade-util = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
337blake3 = "1.5.3"
338bytes = "1.0"
339cargo_metadata = "0.19"
340cargo_toml = "0.20"
341chrono = { version = "0.4", features = ["serde"] }
342clap = { version = "4.4", features = ["derive"] }
343clickhouse = "0.11.6"
344cocoa = "0.26"
345cocoa-foundation = "0.2.0"
346convert_case = "0.6.0"
347core-foundation = "0.9.3"
348core-foundation-sys = "0.8.6"
349ctor = "0.2.6"
350dashmap = "6.0"
351derive_more = "0.99.17"
352dirs = "4.0"
353ec4rs = "1.1"
354emojis = "0.6.1"
355env_logger = "0.11"
356exec = "0.3.1"
357fancy-regex = "0.14.0"
358fork = "0.2.0"
359futures = "0.3"
360futures-batch = "0.6.1"
361futures-lite = "1.13"
362git2 = { version = "0.19", default-features = false }
363globset = "0.4"
364handlebars = "4.3"
365heed = { version = "0.20.1", features = ["read-txn-no-tls"] }
366hex = "0.4.3"
367html5ever = "0.27.0"
368hyper = "0.14"
369ignore = "0.4.22"
370image = "0.25.1"
371indexmap = { version = "1.6.2", features = ["serde"] }
372indoc = "2"
373itertools = "0.13.0"
374jsonwebtoken = "9.3"
375jupyter-protocol = { version = "0.2.0" }
376jupyter-websocket-client = { version = "0.4.1" }
377libc = "0.2"
378linkify = "0.10.0"
379log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
380markup5ever_rcdom = "0.3.0"
381nanoid = "0.4"
382nbformat = "0.6.0"
383nix = "0.29"
384num-format = "0.4.4"
385once_cell = "1.19.0"
386ordered-float = "2.1.1"
387palette = { version = "0.7.5", default-features = false, features = ["std"] }
388parking_lot = "0.12.1"
389pathdiff = "0.2"
390pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
391pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
392pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
393pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
394pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
395pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
396postage = { version = "0.5", features = ["futures-traits"] }
397pretty_assertions = { version = "1.3.0", features = ["unstable"] }
398profiling = "1"
399prost = "0.9"
400prost-build = "0.9"
401prost-types = "0.9"
402pulldown-cmark = { version = "0.12.0", default-features = false }
403rand = "0.8.5"
404rayon = "1.8"
405regex = "1.5"
406repair_json = "0.1.0"
407reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "fd110f6998da16bbca97b6dddda9be7827c50e29", default-features = false, features = [
408 "charset",
409 "http2",
410 "macos-system-configuration",
411 "rustls-tls-native-roots",
412 "socks",
413 "stream",
414] }
415rsa = "0.9.6"
416runtimelib = { version = "0.21.0", default-features = false, features = [
417 "async-dispatcher-runtime",
418] }
419rustc-demangle = "0.1.23"
420rust-embed = { version = "8.4", features = ["include-exclude"] }
421rustls = "0.21.12"
422rustls-native-certs = "0.8.0"
423schemars = { version = "0.8", features = ["impl_json_schema"] }
424semver = "1.0"
425serde = { version = "1.0", features = ["derive", "rc"] }
426serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
427serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
428serde_json_lenient = { version = "0.2", features = [
429 "preserve_order",
430 "raw_value",
431] }
432serde_repr = "0.1"
433sha2 = "0.10"
434shellexpand = "2.1.0"
435shlex = "1.3.0"
436signal-hook = "0.3.17"
437similar = "1.3"
438simplelog = "0.12.2"
439smallvec = { version = "1.6", features = ["union"] }
440smol = "1.2"
441sqlformat = "0.2"
442strsim = "0.11"
443strum = { version = "0.25.0", features = ["derive"] }
444subtle = "2.5.0"
445sys-locale = "0.3.1"
446sysinfo = "0.31.0"
447tempfile = "3.9.0"
448thiserror = "1.0.29"
449tiktoken-rs = "0.5.9"
450time = { version = "0.3", features = [
451 "macros",
452 "parsing",
453 "serde",
454 "serde-well-known",
455 "formatting",
456] }
457tiny_http = "0.8"
458toml = "0.8"
459tokio = { version = "1" }
460tower-http = "0.4.4"
461tree-sitter = { version = "0.23", features = ["wasm"] }
462tree-sitter-bash = "0.23"
463tree-sitter-c = "0.23"
464tree-sitter-cpp = "0.23"
465tree-sitter-css = "0.23"
466tree-sitter-elixir = "0.3"
467tree-sitter-embedded-template = "0.23.0"
468tree-sitter-go = "0.23"
469tree-sitter-go-mod = { git = "https://github.com/zed-industries/tree-sitter-go-mod", rev = "a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca", package = "tree-sitter-gomod" }
470tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
471tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
472tree-sitter-diff = "0.1.0"
473tree-sitter-html = "0.20"
474tree-sitter-jsdoc = "0.23"
475tree-sitter-json = "0.23"
476tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
477tree-sitter-python = "0.23"
478tree-sitter-regex = "0.23"
479tree-sitter-ruby = "0.23"
480tree-sitter-rust = "0.23"
481tree-sitter-typescript = "0.23"
482tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
483unicase = "2.6"
484unindent = "0.1.7"
485unicode-segmentation = "1.10"
486unicode-script = "0.5.7"
487url = "2.2"
488uuid = { version = "1.1.2", features = ["v4", "v5", "serde"] }
489wasmparser = "0.215"
490wasm-encoder = "0.215"
491wasmtime = { version = "24", default-features = false, features = [
492 "async",
493 "demangle",
494 "runtime",
495 "cranelift",
496 "component-model",
497] }
498wasmtime-wasi = "24"
499which = "6.0.0"
500wit-component = "0.201"
501zstd = "0.11"
502
503[workspace.dependencies.async-stripe]
504git = "https://github.com/zed-industries/async-stripe"
505rev = "3672dd4efb7181aa597bf580bf5a2f5d23db6735"
506default-features = false
507features = [
508 "runtime-tokio-hyper-rustls",
509 "billing",
510 "checkout",
511 "events",
512 # The features below are only enabled to get the `events` feature to build.
513 "chrono",
514 "connect",
515]
516
517[workspace.dependencies.windows]
518version = "0.58"
519features = [
520 "implement",
521 "Foundation_Numerics",
522 "Storage",
523 "System_Threading",
524 "UI_ViewManagement",
525 "Wdk_System_SystemServices",
526 "Win32_Globalization",
527 "Win32_Graphics_Direct2D",
528 "Win32_Graphics_Direct2D_Common",
529 "Win32_Graphics_DirectWrite",
530 "Win32_Graphics_Dwm",
531 "Win32_Graphics_Dxgi_Common",
532 "Win32_Graphics_Gdi",
533 "Win32_Graphics_Imaging",
534 "Win32_Graphics_Imaging_D2D",
535 "Win32_Security",
536 "Win32_Security_Credentials",
537 "Win32_Storage_FileSystem",
538 "Win32_System_Com",
539 "Win32_System_Com_StructuredStorage",
540 "Win32_System_DataExchange",
541 "Win32_System_LibraryLoader",
542 "Win32_System_Memory",
543 "Win32_System_Ole",
544 "Win32_System_SystemInformation",
545 "Win32_System_SystemServices",
546 "Win32_System_Threading",
547 "Win32_System_WinRT",
548 "Win32_UI_Controls",
549 "Win32_UI_HiDpi",
550 "Win32_UI_Input_Ime",
551 "Win32_UI_Input_KeyboardAndMouse",
552 "Win32_UI_Shell",
553 "Win32_UI_Shell_Common",
554 "Win32_UI_WindowsAndMessaging",
555]
556
557[profile.dev]
558split-debuginfo = "unpacked"
559debug = "limited"
560codegen-units = 16
561
562[profile.dev.package]
563taffy = { opt-level = 3 }
564cranelift-codegen = { opt-level = 3 }
565resvg = { opt-level = 3 }
566rustybuzz = { opt-level = 3 }
567ttf-parser = { opt-level = 3 }
568wasmtime-cranelift = { opt-level = 3 }
569wasmtime = { opt-level = 3 }
570# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
571activity_indicator = { codegen-units = 1 }
572assets = { codegen-units = 1 }
573breadcrumbs = { codegen-units = 1 }
574collections = { codegen-units = 1 }
575command_palette = { codegen-units = 1 }
576command_palette_hooks = { codegen-units = 1 }
577evals = { codegen-units = 1 }
578extension_cli = { codegen-units = 1 }
579feature_flags = { codegen-units = 1 }
580file_icons = { codegen-units = 1 }
581fsevent = { codegen-units = 1 }
582image_viewer = { codegen-units = 1 }
583inline_completion_button = { codegen-units = 1 }
584install_cli = { codegen-units = 1 }
585journal = { codegen-units = 1 }
586menu = { codegen-units = 1 }
587notifications = { codegen-units = 1 }
588ollama = { codegen-units = 1 }
589outline = { codegen-units = 1 }
590paths = { codegen-units = 1 }
591prettier = { codegen-units = 1 }
592project_symbols = { codegen-units = 1 }
593refineable = { codegen-units = 1 }
594release_channel = { codegen-units = 1 }
595reqwest_client = { codegen-units = 1 }
596rich_text = { codegen-units = 1 }
597semantic_version = { codegen-units = 1 }
598session = { codegen-units = 1 }
599snippet = { codegen-units = 1 }
600snippets_ui = { codegen-units = 1 }
601sqlez_macros = { codegen-units = 1 }
602story = { codegen-units = 1 }
603supermaven_api = { codegen-units = 1 }
604telemetry_events = { codegen-units = 1 }
605theme_selector = { codegen-units = 1 }
606time_format = { codegen-units = 1 }
607ui_input = { codegen-units = 1 }
608vcs_menu = { codegen-units = 1 }
609zed_actions = { codegen-units = 1 }
610
611[profile.release]
612debug = "limited"
613lto = "thin"
614codegen-units = 1
615
616[profile.release.package]
617zed = { codegen-units = 16 }
618
619[profile.release-fast]
620inherits = "release"
621debug = "full"
622lto = false
623codegen-units = 16
624
625[workspace.lints.clippy]
626dbg_macro = "deny"
627todo = "deny"
628
629# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
630# warning on this rule produces a lot of noise.
631single_range_in_vec_init = "allow"
632
633# These are all of the rules that currently have violations in the Zed
634# codebase.
635#
636# We'll want to drive this list down by either:
637# 1. fixing violations of the rule and begin enforcing it
638# 2. deciding we want to allow the rule permanently, at which point
639# we should codify that separately above.
640#
641# This list shouldn't be added to; it should only get shorter.
642# =============================================================================
643
644# There are a bunch of rules currently failing in the `style` group, so
645# allow all of those, for now.
646style = { level = "allow", priority = -1 }
647
648# Temporary list of style lints that we've fixed so far.
649module_inception = { level = "deny" }
650question_mark = { level = "deny" }
651redundant_closure = { level = "deny" }
652# Individual rules that have violations in the codebase:
653type_complexity = "allow"
654# We often return trait objects from `new` functions.
655new_ret_no_self = { level = "allow" }
656# We have a few `next` functions that differ in lifetimes
657# compared to Iterator::next. Yet, clippy complains about those.
658should_implement_trait = { level = "allow" }
659
660[workspace.metadata.cargo-machete]
661ignored = ["bindgen", "cbindgen", "prost_build", "serde"]