Refactor staff mode into a seperate crate and make copilot initialization wait for the staff mode flag to be flipped

This commit is contained in:
Mikayla Maki
2023-04-03 20:16:45 -07:00
parent 1627cf7eae
commit 6bfecd7f66
14 changed files with 100 additions and 32 deletions
Generated
+12
View File
@@ -1124,6 +1124,7 @@ dependencies = [
"serde_derive",
"settings",
"smol",
"staff_mode",
"sum_tree",
"tempfile",
"thiserror",
@@ -1352,6 +1353,7 @@ dependencies = [
"serde_derive",
"settings",
"smol",
"staff_mode",
"theme",
"util",
"workspace",
@@ -6360,6 +6362,14 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "staff_mode"
version = "0.1.0"
dependencies = [
"anyhow",
"gpui",
]
[[package]]
name = "static_assertions"
version = "1.1.0"
@@ -6678,6 +6688,7 @@ dependencies = [
"postage",
"settings",
"smol",
"staff_mode",
"theme",
"util",
"workspace",
@@ -8578,6 +8589,7 @@ dependencies = [
"simplelog",
"smallvec",
"smol",
"staff_mode",
"sum_tree",
"tempdir",
"terminal_view",