
The use of `NamedTempFile` in #31799 was not secure and could potentially cause write permission issues (see [this comment](https://github.com/zed-industries/zed/issues/29528#issuecomment-2939672433)). Therefore, it has been replaced with a Unix pipe. Release Notes: - N/A
56 lines
1.2 KiB
TOML
56 lines
1.2 KiB
TOML
[package]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/util.rs"
|
|
doctest = true
|
|
|
|
[features]
|
|
test-support = ["git2", "rand", "util_macros"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-fs.workspace = true
|
|
async_zip.workspace = true
|
|
collections.workspace = true
|
|
dirs.workspace = true
|
|
futures-lite.workspace = true
|
|
futures.workspace = true
|
|
git2 = { workspace = true, optional = true }
|
|
globset.workspace = true
|
|
itertools.workspace = true
|
|
log.workspace = true
|
|
rand = { workspace = true, optional = true }
|
|
regex.workspace = true
|
|
rust-embed.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_json_lenient.workspace = true
|
|
smol.workspace = true
|
|
take-until.workspace = true
|
|
tempfile.workspace = true
|
|
unicase.workspace = true
|
|
util_macros = { workspace = true, optional = true }
|
|
walkdir.workspace = true
|
|
workspace-hack.workspace = true
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
command-fds = "0.3.1"
|
|
libc.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tendril = "0.4.3"
|
|
dunce = "1.0"
|
|
|
|
[dev-dependencies]
|
|
git2.workspace = true
|
|
indoc.workspace = true
|
|
rand.workspace = true
|
|
util_macros.workspace = true
|