Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/Cargo.toml')
-rw-r--r--helix-view/Cargo.toml8
1 files changed, 3 insertions, 5 deletions
diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml
index 3074fb78..15478e81 100644
--- a/helix-view/Cargo.toml
+++ b/helix-view/Cargo.toml
@@ -14,18 +14,20 @@ homepage = "https://helix-editor.com"
lsp = ["helix-lsp", "tokio-runtime"]
dap = ["helix-dap", "tokio-stream", "tokio-runtime"]
tokio-runtime = ["tokio"]
-term = ["crossterm"]
+term = ["crossterm", "tui"]
[dependencies]
bitflags = "1.3"
anyhow = "1"
helix-core = { version = "0.6", path = "../helix-core" }
+helix-graphics = { version = "0.6", path = "../helix-graphics" }
helix-lsp = { version = "0.6", path = "../helix-lsp", optional = true }
helix-dap = { version = "0.6", path = "../helix-dap", optional = true }
tokio-stream = { version = "0.1", optional = true }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot", "sync"], optional = true }
crossterm = { version = "0.23", optional = true }
+tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true }
# Conversion traits
once_cell = "1.10"
@@ -49,7 +51,3 @@ which = "4.2"
[target.'cfg(windows)'.dependencies]
clipboard-win = { version = "4.4", features = ["std"] }
-
-# TODO: graphics.rs tests rely on this, but we should remove that
-# [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
-# helix-tui = { path = "../helix-tui" }