Extract db module from project to its own crate

This will let us use it from the telemetry crate.

Co-authored-by: Joseph Lyons <joseph@zed.dev>
This commit is contained in:
Nathan Sobo
2022-09-26 16:37:09 -06:00
co-authored by Joseph Lyons
parent da36eb3b41
commit f0c50c1e0a
5 changed files with 39 additions and 1 deletions
Generated
+14
View File
@@ -1504,6 +1504,19 @@ dependencies = [
"matches",
]
[[package]]
name = "db"
version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"collections",
"gpui",
"parking_lot 0.11.2",
"rocksdb",
"tempdir",
]
[[package]]
name = "deflate"
version = "0.8.6"
@@ -3950,6 +3963,7 @@ dependencies = [
"client",
"clock",
"collections",
"db",
"fsevent",
"futures",
"fuzzy",