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