mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
01b836a191
This PR replaces the `lazy_static!` usages in the `util` crate with `OnceLock` from the standard library. This allows us to drop the `lazy_static` dependency from this crate. Release Notes: - N/A
43 lines
821 B
TOML
43 lines
821 B
TOML
[package]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/util.rs"
|
|
doctest = true
|
|
|
|
[features]
|
|
test-support = ["tempfile", "git2"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
collections.workspace = true
|
|
dirs.workspace = true
|
|
futures.workspace = true
|
|
git2 = { workspace = true, optional = true }
|
|
globset.workspace = true
|
|
log.workspace = true
|
|
rand.workspace = true
|
|
regex.workspace = true
|
|
rust-embed.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
async-fs.workspace = true
|
|
futures-lite.workspace = true
|
|
take-until = "0.2.0"
|
|
tempfile = { workspace = true, optional = true }
|
|
unicase.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tendril = "0.4.3"
|
|
|
|
[dev-dependencies]
|
|
git2.workspace = true
|
|
tempfile.workspace = true
|