|
|
|
[package]
|
|
|
|
name = "helix-term"
|
|
|
|
version = "0.6.0"
|
|
|
|
description = "A post-modern text editor."
|
|
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
|
|
edition = "2021"
|
|
|
|
license = "MPL-2.0"
|
|
|
|
categories = ["editor", "command-line-utilities"]
|
|
|
|
repository = "https://github.com/helix-editor/helix"
|
|
|
|
homepage = "https://helix-editor.com"
|
|
|
|
include = ["src/**/*", "README.md"]
|
|
|
|
default-run = "hx"
|
|
|
|
|
|
|
|
[package.metadata.nix]
|
|
|
|
build = true
|
|
|
|
app = true
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["dap", "lsp"]
|
|
|
|
dap = ["helix-dap", "helix-view/dap"]
|
|
|
|
lsp = ["helix-lsp", "helix-view/lsp"]
|
|
|
|
unicode-lines = ["helix-core/unicode-lines"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "hx"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
helix-core = { version = "0.6", path = "../helix-core" }
|
|
|
|
helix-view = { version = "0.6", path = "../helix-view", features = ["term"] }
|
|
|
|
helix-lsp = { version = "0.6", path = "../helix-lsp", optional = true }
|
|
|
|
helix-dap = { version = "0.6", path = "../helix-dap", optional = true }
|
|
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|
|
|
|
|
|
|
|
anyhow = "1"
|
|
|
|
once_cell = "1.10"
|
|
|
|
|
|
|
|
which = "4.2"
|
|
|
|
ropey = { version = "1.4", default-features = false }
|
|
|
|
|
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] }
|
|
|
|
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] }
|
|
|
|
crossterm = { version = "0.23", features = ["event-stream"] }
|
|
|
|
signal-hook = "0.3"
|
|
|
|
tokio-stream = "0.1"
|
|
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
|
|
|
arc-swap = { version = "1.5.0" }
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
fern = "0.6"
|
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# config
|
|
|
|
toml = "0.5"
|
|
|
|
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
[target.'cfg(not(windows))'.dependencies] # https://github.com/vorner/signal-hook/issues/100
|
|
|
|
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|