2020-05-20 17:14:51 +08:00
|
|
|
[package]
|
|
|
|
name = "helix-term"
|
2020-10-02 17:16:43 +08:00
|
|
|
description = "A post-modern text editor."
|
2021-06-18 21:53:29 +08:00
|
|
|
include = ["src/**/*", "README.md"]
|
2021-12-10 10:04:31 +08:00
|
|
|
default-run = "hx"
|
2023-12-05 09:54:18 +08:00
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2023-11-27 20:24:57 +08:00
|
|
|
rust-version.workspace = true
|
2023-12-05 09:54:18 +08:00
|
|
|
categories.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
homepage.workspace = true
|
2020-05-20 17:14:51 +08:00
|
|
|
|
2025-01-17 07:37:53 +08:00
|
|
|
[package.metadata.deb]
|
|
|
|
# generate a .deb in target/debian/ with the command: cargo deb --no-build
|
|
|
|
name = "helix"
|
|
|
|
assets = [
|
|
|
|
{ source = "target/release/hx", dest = "/usr/lib/helix/", mode = "755" },
|
|
|
|
{ source = "../contrib/hx_launcher.sh", dest = "/usr/bin/hx", mode = "755" },
|
|
|
|
{ source = "../runtime/*", dest = "/usr/lib/helix/runtime/", mode = "644" },
|
|
|
|
{ source = "../runtime/grammars/*", dest = "/usr/lib/helix/runtime/grammars/", mode = "644" }, # to avoid sources/
|
|
|
|
{ source = "../runtime/queries/**/*", dest = "/usr/lib/helix/runtime/queries/", mode = "644" },
|
|
|
|
{ source = "../runtime/themes/**/*", dest = "/usr/lib/helix/runtime/themes/", mode = "644" },
|
|
|
|
{ source = "../README.md", dest = "/usr/share/doc/helix/", mode = "644" },
|
|
|
|
{ source = "../contrib/completion/hx.bash", dest = "/usr/share/bash-completion/completions/hx", mode = "644" },
|
|
|
|
{ source = "../contrib/completion/hx.fish", dest = "/usr/share/fish/vendor_completions.d/hx.fish", mode = "644" },
|
|
|
|
{ source = "../contrib/completion/hx.zsh", dest = "/usr/share/zsh/vendor-completions/_hx", mode = "644" },
|
|
|
|
{ source = "../contrib/Helix.desktop", dest = "/usr/share/applications/Helix.desktop", mode = "644" },
|
|
|
|
{ source = "../contrib/helix.png", dest = "/usr/share/icons/hicolor/256x256/apps/helix.png", mode = "644" },
|
|
|
|
]
|
|
|
|
|
2021-06-04 04:46:56 +08:00
|
|
|
[features]
|
2022-12-01 16:35:23 +08:00
|
|
|
default = ["git"]
|
2024-05-08 00:14:02 +08:00
|
|
|
unicode-lines = ["helix-core/unicode-lines", "helix-view/unicode-lines"]
|
2023-12-01 07:03:26 +08:00
|
|
|
integration = ["helix-event/integration_test"]
|
2022-12-01 16:35:23 +08:00
|
|
|
git = ["helix-vcs/git"]
|
2021-06-04 04:46:56 +08:00
|
|
|
|
2020-05-20 17:14:51 +08:00
|
|
|
[[bin]]
|
|
|
|
name = "hx"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-01-17 02:59:48 +08:00
|
|
|
helix-stdx = { path = "../helix-stdx" }
|
2023-12-05 09:54:18 +08: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 13:41:12 +08:00
|
|
|
|
2020-09-08 13:32:20 +08:00
|
|
|
anyhow = "1"
|
2025-03-11 21:29:38 +08:00
|
|
|
once_cell = "1.21"
|
2020-05-28 16:47:35 +08: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 16:52:55 +08:00
|
|
|
tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] }
|
2024-08-07 03:24:03 +08:00
|
|
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
2021-07-17 22:47:08 +08:00
|
|
|
signal-hook = "0.3"
|
2021-08-21 22:21:35 +08:00
|
|
|
tokio-stream = "0.1"
|
2021-05-08 10:51:18 +08:00
|
|
|
futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
|
2024-03-26 11:55:58 +08:00
|
|
|
arc-swap = { version = "1.7.1" }
|
2024-02-12 01:38:09 +08:00
|
|
|
termini = "1"
|
2025-04-08 10:33:46 +08:00
|
|
|
indexmap = "2.9"
|
2020-10-23 13:33:09 +08:00
|
|
|
|
|
|
|
# Logging
|
2024-10-23 21:34:20 +08:00
|
|
|
fern = "0.7"
|
2021-02-22 13:42:12 +08:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
2020-10-23 13:33:09 +08:00
|
|
|
log = "0.4"
|
2020-12-17 17:08:16 +08:00
|
|
|
|
|
|
|
# File picker
|
2023-08-30 12:26:21 +08:00
|
|
|
nucleo.workspace = true
|
2020-12-17 17:08:16 +08:00
|
|
|
ignore = "0.4"
|
2021-03-05 15:07:46 +08:00
|
|
|
# markdown doc rendering
|
2025-02-13 22:31:38 +08:00
|
|
|
pulldown-cmark = { version = "0.13", default-features = false }
|
2021-11-04 11:24:52 +08:00
|
|
|
# file type detection
|
|
|
|
content_inspector = "0.2.4"
|
2024-11-19 08:02:30 +08:00
|
|
|
thiserror.workspace = true
|
2021-03-25 14:26:25 +08:00
|
|
|
|
2023-11-21 19:04:20 +08:00
|
|
|
# opening URLs
|
2025-01-07 08:34:21 +08:00
|
|
|
open = "5.3.2"
|
2024-11-26 08:06:54 +08:00
|
|
|
url = "2.5.4"
|
2023-11-21 19:04:20 +08:00
|
|
|
|
2021-03-25 14:26:25 +08:00
|
|
|
# config
|
2024-02-13 00:48:45 +08:00
|
|
|
toml = "0.8"
|
2021-03-26 15:02:13 +08: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
|
2024-09-10 21:59:03 +08:00
|
|
|
grep-regex = "0.1.13"
|
|
|
|
grep-searcher = "0.1.14"
|
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"] }
|
2025-04-22 14:10:48 +08:00
|
|
|
libc = "0.2.172"
|
2022-02-21 20:39:23 +08:00
|
|
|
|
2023-07-13 11:01:17 +08:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2024-08-07 05:46:59 +08:00
|
|
|
crossterm = { version = "0.28", features = ["event-stream", "use-dev-tty", "libc"] }
|
2023-07-13 11:01:17 +08:00
|
|
|
|
2022-02-21 20:39:23 +08:00
|
|
|
[build-dependencies]
|
2023-12-05 09:54:18 +08:00
|
|
|
helix-loader = { path = "../helix-loader" }
|
2022-01-18 08:04:40 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2025-04-08 10:33:46 +08:00
|
|
|
smallvec = "1.15"
|
2025-03-04 08:09:43 +08:00
|
|
|
indoc = "2.0.6"
|
2025-01-07 08:34:21 +08:00
|
|
|
tempfile.workspace = true
|
2024-07-28 01:21:52 +08:00
|
|
|
same-file = "1.0.1"
|