# Add \`streaming_diff\` crate \(\#23264\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/24495f09f9843f6c60ea31e3c5e28aa8e9e9b2b5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 24495f09f9843f6c60ea31e3c5e28aa8e9e9b2b5

Requested commit: 24495f09f9843f6c60ea31e3c5e28aa8e9e9b2b5

Commit: 24495f09f9843f6c60ea31e3c5e28aa8e9e9b2b5

Tree: 7416afc9ed66769e294caa6e385816cb2a694ab4

Author: Marshall Bowers

Committer: GitHub

## Message

```
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
```

## Parents

- [4d22f7e529f35c5ccbadb3147e2fe7c1e3127366](https://git.cafe/gitcafe/zed/commit/4d22f7e529f35c5ccbadb3147e2fe7c1e3127366?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/24495f09f9843f6c60ea31e3c5e28aa8e9e9b2b5?format=markdown)
