# Replace \`lazy_static\!\` with \`OnceLock\` in \`collab\` crate \(\#8677\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 91d1146d976bcf257e289d9523995b4c28d07c0e

Requested commit: 91d1146d976bcf257e289d9523995b4c28d07c0e

Commit: 91d1146d976bcf257e289d9523995b4c28d07c0e

Tree: 2f77419a5cb4e9b1c9d4ddbcd928bf3f81411302

Author: Marshall Bowers

Committer: GitHub

## Message

```
Replace `lazy_static!` with `OnceLock` in `collab` crate (#8677)

This PR replaces a `lazy_static!` usage in the `collab` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

Release Notes:

- N/A
```

## Parents

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

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