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