2020-05-20 13:14:51 +04:00
|
|
|
[package]
|
|
|
|
name = "helix-term"
|
2022-01-04 13:54:05 +04:00
|
|
|
version = "0.6.0"
|
2020-10-02 13:16:43 +04:00
|
|
|
description = "A post-modern text editor."
|
2020-05-20 13:14:51 +04:00
|
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
2023-11-27 16:24:57 +04:00
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2021-06-18 18:41:03 +04:00
|
|
|
categories = ["editor", "command-line-utilities"]
|
|
|
|
repository = "https://github.com/helix-editor/helix"
|
|
|
|
homepage = "https://helix-editor.com"
|
2021-06-18 17:53:29 +04:00
|
|
|
include = ["src/**/*", "README.md"]
|
2021-12-10 06:04:31 +04:00
|
|
|
default-run = "hx"
|
2023-11-27 16:24:57 +04:00
|
|
|
rust-version.workspace = true
|
2020-05-20 13:14:51 +04:00
|
|
|
|
2021-06-04 00:46:56 +04:00
|
|
|
[features]
|
2022-12-01 12:35:23 +04:00
|
|
|
default = ["git"]
|
2022-03-17 05:52:14 +04:00
|
|
|
unicode-lines = ["helix-core/unicode-lines"]
|
2022-01-18 04:04:40 +04:00
|
|
|
integration = []
|
2022-12-01 12:35:23 +04:00
|
|
|
git = ["helix-vcs/git"]
|
2021-06-04 00:46:56 +04:00
|
|
|
|
2020-05-20 13:14:51 +04:00
|
|
|
[[bin]]
|
|
|
|
name = "hx"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-01-04 13:54:05 +04:00
|
|
|
helix-core = { version = "0.6", path = "../helix-core" }
|
2023-08-30 08:26:21 +04:00
|
|
|
helix-event = { version = "0.6", path = "../helix-event" }
|
2022-01-04 13:54:05 +04:00
|
|
|
helix-view = { version = "0.6", path = "../helix-view" }
|
|
|
|
helix-lsp = { version = "0.6", path = "../helix-lsp" }
|
2022-02-13 13:31:51 +04:00
|
|
|
helix-dap = { version = "0.6", path = "../helix-dap" }
|
2022-12-01 12:35:23 +04:00
|
|
|
helix-vcs = { version = "0.6", path = "../helix-vcs" }
|
2022-02-16 17:57:20 +04:00
|
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|
2020-09-09 09:41:12 +04:00
|
|
|
|
2020-09-08 09:32:20 +04:00
|
|
|
anyhow = "1"
|
2023-06-06 06:14:36 +04:00
|
|
|
once_cell = "1.18"
|
2020-05-28 12:47:35 +04:00
|
|
|
|
2023-11-25 20:37:00 +04:00
|
|
|
which = "5.0.0"
|
2022-03-08 09:25:46 +04:00
|
|
|
|
2021-07-17 18:47:08 +04:00
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] }
|
2021-05-09 12:52:55 +04:00
|
|
|
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] }
|
2023-08-22 03:56:16 +04:00
|
|
|
crossterm = { version = "0.27", features = ["event-stream"] }
|
2021-07-17 18:47:08 +04:00
|
|
|
signal-hook = "0.3"
|
2021-08-21 18:21:35 +04:00
|
|
|
tokio-stream = "0.1"
|
2021-05-08 06:51:18 +04:00
|
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
2023-01-03 07:29:23 +04:00
|
|
|
arc-swap = { version = "1.6.0" }
|
2020-10-23 09:33:09 +04:00
|
|
|
|
|
|
|
# Logging
|
|
|
|
fern = "0.6"
|
2021-02-22 09:42:12 +04:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
2020-10-23 09:33:09 +04:00
|
|
|
log = "0.4"
|
2020-12-17 13:08:16 +04:00
|
|
|
|
|
|
|
# File picker
|
2023-08-30 08:26:21 +04:00
|
|
|
nucleo.workspace = true
|
2020-12-17 13:08:16 +04:00
|
|
|
ignore = "0.4"
|
2021-03-05 11:07:46 +04:00
|
|
|
# markdown doc rendering
|
2022-01-18 05:41:44 +04:00
|
|
|
pulldown-cmark = { version = "0.9", default-features = false }
|
2021-11-04 07:24:52 +04:00
|
|
|
# file type detection
|
|
|
|
content_inspector = "0.2.4"
|
2021-03-25 10:26:25 +04:00
|
|
|
|
2023-11-21 15:04:20 +04:00
|
|
|
# opening URLs
|
|
|
|
open = "5.0.0"
|
|
|
|
url = "2.4.1"
|
|
|
|
|
2021-03-25 10:26:25 +04:00
|
|
|
# config
|
2023-01-30 18:49:26 +04:00
|
|
|
toml = "0.7"
|
2021-03-26 11:02:13 +04:00
|
|
|
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-07-17 18:47:08 +04:00
|
|
|
|
2021-09-21 20:03:12 +04:00
|
|
|
# ripgrep for global search
|
2023-03-07 05:18:28 +04:00
|
|
|
grep-regex = "0.1.11"
|
2023-11-28 04:54:16 +04:00
|
|
|
grep-searcher = "0.1.12"
|
2021-09-21 20:03:12 +04:00
|
|
|
|
2021-07-17 18:47:08 +04:00
|
|
|
[target.'cfg(not(windows))'.dependencies] # https://github.com/vorner/signal-hook/issues/100
|
|
|
|
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
2023-11-09 06:13:03 +04:00
|
|
|
libc = "0.2.150"
|
2022-02-21 16:39:23 +04:00
|
|
|
|
2023-07-13 07:01:17 +04:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2023-08-22 18:49:13 +04:00
|
|
|
crossterm = { version = "0.27", features = ["event-stream", "use-dev-tty"] }
|
2023-07-13 07:01:17 +04:00
|
|
|
|
2022-02-21 16:39:23 +04:00
|
|
|
[build-dependencies]
|
|
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|
2022-01-18 04:04:40 +04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-07-11 05:26:00 +04:00
|
|
|
smallvec = "1.11"
|
2023-09-19 06:29:46 +04:00
|
|
|
indoc = "2.0.4"
|
2023-10-31 11:57:03 +04:00
|
|
|
tempfile = "3.8.1"
|