bite-gp-util 1.25.202

A collection of utility structs and functions used by Zed and GPUI
Documentation
[package]
readme = "README.md"
homepage = "https://bite-gpui.github.io/"
repository = "https://github.com/bite-gpui/bite-gpui"
name = "bite-gp-util"
version = "1.25.202"
edition.workspace = true
license = "Apache-2.0"
description = "A collection of utility structs and functions used by Zed and GPUI"


[lints]
workspace = true

[lib]
name = "util"
path = "src/util.rs"
doctest = true

[features]
test-support = ["rand", "util_macros", "path/test-support", "dep:tempfile"]
# Embed `fs_embed!` assets at compile time even in debug builds.
debug-embed = ["rust-embed/debug-embed"]

[dependencies]
anyhow.workspace = true
collections.workspace = true
dunce.workspace = true
globset.workspace = true
itertools.workspace = true
rand = { workspace = true, optional = true }
regex = { workspace = true, features = ["unicode-bool", "unicode-gencat"] }
rust-embed.workspace = true
schemars = { workspace = true, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
serde_json_lenient.workspace = true
tempfile = { workspace = true, optional = true }
unicase.workspace = true
url.workspace = true
percent-encoding.workspace = true
util_macros = { workspace = true, optional = true }
gpui_util.workspace = true
path = { workspace = true, features = ["serde"] }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
async_zip.workspace = true
futures-lite.workspace = true
futures.workspace = true
shlex.workspace = true
smol.workspace = true
async-fs.workspace = true
walkdir.workspace = true
dirs.workspace = true

[target.'cfg(any(unix, not(target_family = "wasm")))'.dependencies]
log.workspace = true

[target.'cfg(unix)'.dependencies]
command-fds = "0.3.1"
libc.workspace = true
nix = { workspace = true, features = ["resource", "user"] }
tempfile.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
mach2.workspace = true
which.workspace = true

[target.'cfg(windows)'.dependencies]
which.workspace = true
windows = { workspace = true, features = ["Win32_System_JobObjects"] }

[dev-dependencies]
rand.workspace = true
tempfile.workspace = true
util_macros.workspace = true
path = { features = ["test-support"], package = "bite-gp-path", path = "../path" }

[target.'cfg(unix)'.dev-dependencies]
which.workspace = true

[package.metadata.bite]
source = "https://github.com/bite-gpui/bite-gpui.git"
branch = "bite_v1.25.x"
commit = "19271206c7e12504f1a0b3879a85c90df5d9b4c4"
upstream = "1.25.2"
amendment = 2
original = "util"