zed/crates/util/Cargo.toml
白山風露 631f885900
Ensure sqlez build succeeds on Windows (#7072)
On Windows, `OsStr` must be a valid
[WTF-8](https://simonsapin.github.io/wtf-8/) sequence, and there are no
safety ways converting from bytes to OsStr in std. So I added
`PathExt::try_from_bytes` and use it in `sqlez`.
2024-01-30 10:07:46 -08:00

40 lines
757 B
TOML

[package]
name = "util"
version = "0.1.0"
edition = "2021"
publish = false
license = "Apache-2.0"
[lib]
path = "src/util.rs"
doctest = true
[features]
test-support = ["tempfile", "git2"]
[dependencies]
anyhow.workspace = true
backtrace = "0.3"
globset.workspace = true
log.workspace = true
lazy_static.workspace = true
futures.workspace = true
isahc.workspace = true
smol.workspace = true
url = "2.2"
rand.workspace = true
rust-embed.workspace = true
tempfile = { workspace = true, optional = true }
serde.workspace = true
serde_json.workspace = true
git2 = { workspace = true, optional = true }
dirs = "3.0"
take-until = "0.2.0"
[target.'cfg(windows)'.dependencies]
tendril = "0.4.3"
[dev-dependencies]
tempfile.workspace = true
git2.workspace = true