Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/Cargo.toml')
-rw-r--r--helix-term/Cargo.toml103
1 files changed, 37 insertions, 66 deletions
diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml
index ab9f166b..30bfc7ea 100644
--- a/helix-term/Cargo.toml
+++ b/helix-term/Cargo.toml
@@ -1,39 +1,25 @@
[package]
name = "helix-term"
+version = "0.6.0"
description = "A post-modern text editor."
+authors = ["Blaž Hrastnik <[email protected]>"]
+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"
-version.workspace = true
-authors.workspace = true
-edition.workspace = true
-license.workspace = true
-rust-version.workspace = true
-categories.workspace = true
-repository.workspace = true
-homepage.workspace = true
+rust-version = "1.57"
-[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" },
-]
+[package.metadata.nix]
+build = true
+app = true
[features]
default = ["git"]
-unicode-lines = ["helix-core/unicode-lines", "helix-view/unicode-lines"]
-integration = ["helix-event/integration_test"]
+unicode-lines = ["helix-core/unicode-lines"]
+integration = []
git = ["helix-vcs/git"]
[[bin]]
@@ -41,71 +27,56 @@ name = "hx"
path = "src/main.rs"
[dependencies]
-helix-stdx = { path = "../helix-stdx" }
-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" }
+helix-core = { version = "0.6", path = "../helix-core" }
+helix-view = { version = "0.6", path = "../helix-view" }
+helix-lsp = { version = "0.6", path = "../helix-lsp" }
+helix-dap = { version = "0.6", path = "../helix-dap" }
+helix-vcs = { version = "0.6", path = "../helix-vcs" }
+helix-loader = { version = "0.6", path = "../helix-loader" }
anyhow = "1"
-once_cell = "1.21"
+once_cell = "1.16"
+
+which = "4.2"
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 = ["termina", "crossterm"] }
-termina = { workspace = true, features = ["event-stream"] }
+tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] }
+crossterm = { version = "0.25", 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.7.1" }
-termini = "1"
-indexmap = "2.12"
+arc-swap = { version = "1.5.1" }
# Logging
-fern = "0.7"
+fern = "0.6"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
log = "0.4"
# File picker
-nucleo.workspace = true
-# MSRV: update once the MSRV is >=1.85
-ignore = "=0.4.23"
-grep-regex = "=0.1.13"
-grep-searcher = "=0.1.14"
-grep-matcher = "=0.1.7"
+fuzzy-matcher = "0.3"
+ignore = "0.4"
# markdown doc rendering
-pulldown-cmark = { version = "0.13", default-features = false }
+pulldown-cmark = { version = "0.9", default-features = false }
# file type detection
content_inspector = "0.2.4"
-thiserror.workspace = true
-
-# opening URLs
-open = "5.3.2"
-url = "2.5.4"
# config
-toml.workspace = true
+toml = "0.5"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-dashmap = "6.0"
-tree-house = { workspace = true, features = ["fixtures"] }
-
-[target.'cfg(windows)'.dependencies]
-crossterm = { version = "0.28", features = ["event-stream"] }
+# ripgrep for global search
+grep-regex = "0.1.10"
+grep-searcher = "0.1.10"
[target.'cfg(not(windows))'.dependencies] # https://github.com/vorner/signal-hook/issues/100
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
-libc = "0.2.177"
[build-dependencies]
-helix-loader = { path = "../helix-loader" }
+helix-loader = { version = "0.6", path = "../helix-loader" }
[dev-dependencies]
-smallvec = "1.15"
-indoc = "2.0.6"
-tempfile.workspace = true
-same-file = "1.0.1"
+smallvec = "1.10"
+indoc = "1.0.6"
+tempfile = "3.3.0"