chore: Make some of the deps of gpui optional (#16986)

Minor bookkeeping, that takes down dep count of gpui from 454 to 430 for
me.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-08-28 10:05:50 +02:00 committed by GitHub
parent 22a791d9c7
commit 4ec1f29df0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 53 additions and 46 deletions

View file

@ -13,7 +13,7 @@ path = "src/util.rs"
doctest = true
[features]
test-support = ["tempfile", "git2"]
test-support = ["tempfile", "git2", "rand"]
[dependencies]
anyhow.workspace = true
@ -23,7 +23,7 @@ futures.workspace = true
git2 = { workspace = true, optional = true }
globset.workspace = true
log.workspace = true
rand.workspace = true
rand = {workspace = true, optional = true}
regex.workspace = true
rust-embed.workspace = true
serde.workspace = true
@ -40,3 +40,4 @@ tendril = "0.4.3"
[dev-dependencies]
git2.workspace = true
tempfile.workspace = true
rand.workspace = true