Extract project_core out of project (#8438)

That's done to unblock work for dynamic tasks (`task` crate has to
access the worktree yet it is a dependency of a `project`).
Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-02-26 22:09:22 +01:00 committed by GitHub
parent 72009de309
commit 009384f948
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 207 additions and 98 deletions

52
Cargo.lock generated
View file

@ -3940,15 +3940,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "globset"
version = "0.4.13"
version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d"
checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
dependencies = [
"aho-corasick",
"bstr",
"fnv",
"log",
"regex",
"regex-automata 0.4.5",
"regex-syntax 0.8.2",
]
[[package]]
@ -4461,17 +4461,16 @@ dependencies = [
[[package]]
name = "ignore"
version = "0.4.20"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492"
checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
dependencies = [
"crossbeam-deque",
"globset",
"lazy_static",
"log",
"memchr",
"regex",
"regex-automata 0.4.5",
"same-file",
"thread_local",
"walkdir",
"winapi-util",
]
@ -6835,6 +6834,7 @@ dependencies = [
"postage",
"prettier",
"pretty_assertions",
"project_core",
"rand 0.8.5",
"regex",
"release_channel",
@ -6855,6 +6855,40 @@ dependencies = [
"which 6.0.0",
]
[[package]]
name = "project_core"
version = "0.1.0"
dependencies = [
"anyhow",
"client",
"clock",
"collections",
"fs",
"futures 0.3.28",
"fuzzy",
"git",
"git2",
"gpui",
"ignore",
"itertools 0.11.0",
"language",
"log",
"lsp",
"parking_lot 0.11.2",
"postage",
"pretty_assertions",
"rand 0.8.5",
"rpc",
"schemars",
"serde",
"serde_json",
"settings",
"smol",
"sum_tree",
"text",
"util",
]
[[package]]
name = "project_panel"
version = "0.1.0"