ZIm/crates/assistant_slash_commands/src
Piotr Osiewicz 77dadfedfe
chore: Make terminal_view own the TerminalSlashCommand (#31070)
This reduces 'touch crates/editor/src/editor.rs && cargo +nightly build'
from 8.9s to 8.5s. That same scenario used to take 8s less than a week
ago. :)
I'm measuring with nightly rustc, because it's compile times are better
than those of stable thanks to
https://github.com/rust-lang/rust/pull/138522

main (8.2s total):

![image](https://github.com/user-attachments/assets/767a2ac4-7bba-4147-bd16-9b09eed5b433)

[cargo-timing.html.zip](https://github.com/user-attachments/files/20364175/cargo-timing.html.zip)

#22be776 (7.5s total):

[cargo-timing-20250521T085303.892834Z.html.zip](https://github.com/user-attachments/files/20364391/cargo-timing-20250521T085303.892834Z.html.zip)

![image](https://github.com/user-attachments/assets/c4476df9-cb6e-4403-b0db-de00521f1fd0)


Release Notes:

- N/A
2025-05-21 09:27:54 +00:00
..
assistant_slash_commands.rs chore: Make terminal_view own the TerminalSlashCommand (#31070) 2025-05-21 09:27:54 +00:00
cargo_workspace_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
context_server_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
default_command.rs agent: Use default prompts from prompt library in system prompt (#28915) 2025-04-18 09:32:35 -06:00
delta_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
diagnostics_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
docs_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
fetch_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
file_command.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
now_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
prompt_command.rs Add ability to attach rules as context (#29109) 2025-04-21 20:16:51 +00:00
selection_command.rs agent: Support adding selection as context (#28964) 2025-04-17 16:55:15 +02:00
streaming_example_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
symbols_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
tab_command.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00