| 1 |
[package] |
| 2 |
autobenches = false |
| 3 |
name = "helix-view" |
| 4 |
description = "UI abstractions for use in backends" |
| 5 |
version.workspace = true |
| 6 |
authors.workspace = true |
| 7 |
edition.workspace = true |
| 8 |
license.workspace = true |
| 9 |
rust-version.workspace = true |
| 10 |
categories.workspace = true |
| 11 |
repository.workspace = true |
| 12 |
homepage.workspace = true |
| 13 |
|
| 14 |
[lib] |
| 15 |
# Skip libtest benchmark harness, the benches use criterion. |
| 16 |
# cargo bench -p helix-view --features bench |
| 17 |
bench = false |
| 18 |
|
| 19 |
[features] |
| 20 |
default = [] |
| 21 |
term = ["termina", "crossterm"] |
| 22 |
unicode-lines = [] |
| 23 |
|
| 24 |
[dependencies] |
| 25 |
helix-stdx = { path = "../helix-stdx" } |
| 26 |
helix-core = { path = "../helix-core" } |
| 27 |
helix-event = { path = "../helix-event" } |
| 28 |
helix-loader = { path = "../helix-loader" } |
| 29 |
helix-lsp = { path = "../helix-lsp" } |
| 30 |
helix-dap = { path = "../helix-dap" } |
| 31 |
helix-vcs = { path = "../helix-vcs" } |
| 32 |
|
| 33 |
bitflags.workspace = true |
| 34 |
foldhash.workspace = true |
| 35 |
anyhow = "1" |
| 36 |
termina = { workspace = true, optional = true } |
| 37 |
|
| 38 |
tempfile.workspace = true |
| 39 |
|
| 40 |
# Conversion traits |
| 41 |
once_cell = "1.21" |
| 42 |
|
| 43 |
arc-swap.workspace = true |
| 44 |
|
| 45 |
tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] } |
| 46 |
tokio-stream = "0.1" |
| 47 |
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false } |
| 48 |
|
| 49 |
slotmap.workspace = true |
| 50 |
|
| 51 |
chardetng = "1.0" |
| 52 |
|
| 53 |
serde = { version = "1.0", features = ["derive"] } |
| 54 |
serde_json = "1.0" |
| 55 |
toml.workspace = true |
| 56 |
log = "~0.4" |
| 57 |
|
| 58 |
parking_lot.workspace = true |
| 59 |
thiserror.workspace = true |
| 60 |
|
| 61 |
kstring = "2.0" |
| 62 |
|
| 63 |
[target.'cfg(windows)'.dependencies] |
| 64 |
clipboard-win = { version = "5.4", features = ["std"] } |
| 65 |
crossterm = { version = "0.28", optional = true } |
| 66 |
|
| 67 |
[target.'cfg(unix)'.dependencies] |
| 68 |
libc = "0.2" |
| 69 |
rustix = { version = "1.1", features = ["fs"] } |
| 70 |
|
| 71 |
[dev-dependencies] |
| 72 |
helix-tui = { path = "../helix-tui" } |
| 73 |
quickcheck.workspace = true |