# ep: Make \`tree-sitter\` dependency optional in \`edit_prediction_metrics\` \(\#57829\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a65e677376f2d918ffdb71e42223defc73d7f33d

Requested commit: a65e677376f2d918ffdb71e42223defc73d7f33d

Commit: a65e677376f2d918ffdb71e42223defc73d7f33d

Tree: 5203f7cb4559e4b2e90dc36fa7d393f1787422b4

Author: Ben Kunkle

Committer: GitHub

## Message

```
ep: Make `tree-sitter` dependency optional in  `edit_prediction_metrics` (#57829)

Needed for use in cloud

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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