mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
258a8a37d8
This PR extracts the definition of the various Zed paths out of `util` and into a new `paths` crate. `util` is for generic utils, while these paths are Zed-specific. For instance, `gpui` depends on `util`, and it shouldn't have knowledge of these paths, since they are only used by Zed. Release Notes: - N/A
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[package]
|
|
name = "fs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/fs.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-tar.workspace = true
|
|
async-trait.workspace = true
|
|
collections.workspace = true
|
|
futures.workspace = true
|
|
git.workspace = true
|
|
git2.workspace = true
|
|
gpui = { workspace = true, optional = true }
|
|
lazy_static.workspace = true
|
|
libc.workspace = true
|
|
parking_lot.workspace = true
|
|
paths.workspace = true
|
|
rope.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
smol.workspace = true
|
|
tempfile.workspace = true
|
|
text.workspace = true
|
|
time.workspace = true
|
|
util.workspace = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
fsevent.workspace = true
|
|
objc = "0.2"
|
|
cocoa = "0.25"
|
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
|
notify = "6.1.1"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
ashpd.workspace = true
|
|
|
|
[dev-dependencies]
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
|
|
[features]
|
|
test-support = ["gpui/test-support", "git/test-support"]
|