helix/helix-view/Cargo.toml

73 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "helix-view"
2022-01-04 17:54:05 +08:00
version = "0.6.0"
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"
[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"]
term = ["crossterm", "tui"]
2022-04-05 14:54:57 +08:00
ui = []
[dependencies]
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" }
helix-graphics = { version = "0.6", path = "../helix-graphics" }
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 }
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
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"
url = "2"
2020-10-30 16:00:30 +08:00
arc-swap = { version = "1.5.0" }
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
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"] }
serde_json = "1.0"
2021-03-25 15:42:14 +08:00
toml = "0.5"
log = "~0.4"
# 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]
which = "4.2"
[target.'cfg(windows)'.dependencies]
clipboard-win = { version = "4.4", features = ["std"] }