Add streaming_diff crate (#23264)

This PR extracts the streaming diff implementation to its own
`streaming_diff` crate.

It was duplicated between `assistant` and `assistant2`, but their
implementations were exactly the same (and I don't see a reason why they
would need to diverge).

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-16 18:12:46 -05:00 committed by GitHub
parent 4d22f7e529
commit 24495f09f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 41 additions and 1113 deletions

View file

@ -51,7 +51,6 @@ lsp.workspace = true
menu.workspace = true
multi_buffer.workspace = true
open_ai = { workspace = true, features = ["schemars"] }
ordered-float.workspace = true
parking_lot.workspace = true
paths.workspace = true
picker.workspace = true
@ -71,6 +70,7 @@ settings.workspace = true
similar.workspace = true
smallvec.workspace = true
smol.workspace = true
streaming_diff.workspace = true
strum.workspace = true
telemetry.workspace = true
telemetry_events.workspace = true