2020-09-21 17:24:16 +08:00
|
|
|
[package]
|
|
|
|
name = "helix-view"
|
2022-01-04 17:54:05 +08:00
|
|
|
version = "0.6.0"
|
2020-09-21 17:24:16 +08:00
|
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
2021-10-22 11:07:41 +08:00
|
|
|
edition = "2021"
|
2021-05-11 00:42:34 +08:00
|
|
|
license = "MPL-2.0"
|
2021-06-18 22:41:03 +08:00
|
|
|
description = "UI abstractions for use in backends"
|
|
|
|
categories = ["editor"]
|
|
|
|
repository = "https://github.com/helix-editor/helix"
|
|
|
|
homepage = "https://helix-editor.com"
|
2020-09-21 17:24:16 +08:00
|
|
|
|
|
|
|
[features]
|
2022-03-27 17:16:38 +08:00
|
|
|
# default = ["dap", "lsp"]
|
2022-03-28 09:50:41 +08:00
|
|
|
lsp = ["helix-lsp", "tokio-runtime"]
|
|
|
|
dap = ["helix-dap", "tokio-stream", "tokio-runtime"]
|
|
|
|
tokio-runtime = ["tokio"]
|
2022-04-04 10:21:40 +08:00
|
|
|
term = ["crossterm", "tui"]
|
2022-04-05 14:54:57 +08:00
|
|
|
ui = []
|
2020-09-21 17:24:16 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2021-08-17 08:23:59 +08:00
|
|
|
bitflags = "1.3"
|
2020-09-29 00:00:35 +08:00
|
|
|
anyhow = "1"
|
2022-01-04 17:54:05 +08:00
|
|
|
helix-core = { version = "0.6", path = "../helix-core" }
|
2022-04-04 10:21:40 +08:00
|
|
|
helix-graphics = { version = "0.6", path = "../helix-graphics" }
|
2022-03-27 17:05:50 +08:00
|
|
|
helix-lsp = { version = "0.6", path = "../helix-lsp", optional = true }
|
2022-03-27 16:47:33 +08:00
|
|
|
helix-dap = { version = "0.6", path = "../helix-dap", optional = true }
|
2022-04-04 16:28:30 +08:00
|
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|
2022-03-27 16:47:33 +08:00
|
|
|
tokio-stream = { version = "0.1", optional = true }
|
2022-03-28 09:50:41 +08:00
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot", "sync"], optional = true }
|
2022-03-27 16:47:33 +08:00
|
|
|
|
2022-02-07 09:47:57 +08:00
|
|
|
crossterm = { version = "0.23", optional = true }
|
2022-04-04 10:21:40 +08:00
|
|
|
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true }
|
2020-09-21 17:24:16 +08:00
|
|
|
|
|
|
|
# Conversion traits
|
2022-03-08 08:55:23 +08:00
|
|
|
once_cell = "1.10"
|
2020-10-22 13:35:07 +08:00
|
|
|
url = "2"
|
2020-10-30 16:00:30 +08:00
|
|
|
|
2022-03-25 17:05:20 +08:00
|
|
|
arc-swap = { version = "1.5.0" }
|
|
|
|
|
2021-06-19 11:14:40 +08:00
|
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
2021-02-03 18:36:54 +08:00
|
|
|
|
|
|
|
slotmap = "1"
|
2021-03-25 15:42:14 +08:00
|
|
|
|
2021-06-23 14:03:34 +08:00
|
|
|
chardetng = "0.1"
|
|
|
|
|
2021-03-25 15:42:14 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-03-22 11:53:44 +08:00
|
|
|
serde_json = "1.0"
|
2021-03-25 15:42:14 +08:00
|
|
|
toml = "0.5"
|
2021-06-06 20:45:59 +08:00
|
|
|
log = "~0.4"
|
2021-06-15 05:37:17 +08:00
|
|
|
|
2022-04-04 16:28:30 +08:00
|
|
|
# Command dependencies
|
|
|
|
|
|
|
|
# File picker
|
|
|
|
fuzzy-matcher = "0.3"
|
|
|
|
ignore = "0.4"
|
|
|
|
# markdown doc rendering
|
|
|
|
pulldown-cmark = { version = "0.9", default-features = false }
|
|
|
|
# file type detection
|
|
|
|
content_inspector = "0.2.4"
|
|
|
|
|
|
|
|
# ripgrep for global search
|
|
|
|
grep-regex = "0.1.9"
|
|
|
|
grep-searcher = "0.1.8"
|
|
|
|
|
|
|
|
# Remove once retain_mut lands in stable rust
|
|
|
|
retain_mut = "0.1.7"
|
|
|
|
|
2022-03-28 09:50:41 +08:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-08-03 07:07:33 +08:00
|
|
|
which = "4.2"
|
2021-06-25 11:58:15 +08:00
|
|
|
|
2021-06-30 16:11:56 +08:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-01-25 08:42:14 +08:00
|
|
|
clipboard-win = { version = "4.4", features = ["std"] }
|