fork/helix

git clone https://git.julia.blue/fork/helix

dependabot[bot]build(deps): bump indexmap in the rust-dependencies group (#13872)0043c165

25.07
3.7 KiB108 linesraw
1[package]
2name = "helix-term"
3description = "A post-modern text editor."
4include = ["src/**/*", "README.md"]
5default-run = "hx"
6version.workspace = true
7authors.workspace = true
8edition.workspace = true
9license.workspace = true
10rust-version.workspace = true
11categories.workspace = true
12repository.workspace = true
13homepage.workspace = true
14
15[package.metadata.deb]
16# generate a .deb in target/debian/ with the command: cargo deb --no-build
17name = "helix"
18assets = [
19  { source = "target/release/hx", dest = "/usr/lib/helix/", mode = "755" },
20  { source = "../contrib/hx_launcher.sh", dest = "/usr/bin/hx", mode = "755" },
21  { source = "../runtime/*", dest = "/usr/lib/helix/runtime/", mode = "644" },
22  { source = "../runtime/grammars/*", dest = "/usr/lib/helix/runtime/grammars/", mode = "644" }, # to avoid sources/
23  { source = "../runtime/queries/**/*", dest = "/usr/lib/helix/runtime/queries/", mode = "644" },
24  { source = "../runtime/themes/**/*", dest = "/usr/lib/helix/runtime/themes/", mode = "644" },
25  { source = "../README.md", dest = "/usr/share/doc/helix/", mode = "644" },
26  { source = "../contrib/completion/hx.bash", dest = "/usr/share/bash-completion/completions/hx", mode = "644" },
27  { source = "../contrib/completion/hx.fish", dest = "/usr/share/fish/vendor_completions.d/hx.fish", mode = "644" },
28  { source = "../contrib/completion/hx.zsh", dest = "/usr/share/zsh/vendor-completions/_hx", mode = "644" },
29  { source = "../contrib/Helix.desktop", dest = "/usr/share/applications/Helix.desktop", mode = "644" },
30  { source = "../contrib/helix.png", dest = "/usr/share/icons/hicolor/256x256/apps/helix.png", mode = "644" },
31]
32
33[features]
34default = ["git"]
35unicode-lines = ["helix-core/unicode-lines", "helix-view/unicode-lines"]
36integration = ["helix-event/integration_test"]
37git = ["helix-vcs/git"]
38
39[[bin]]
40name = "hx"
41path = "src/main.rs"
42
43[dependencies]
44helix-stdx = { path = "../helix-stdx" }
45helix-core = { path = "../helix-core" }
46helix-event = { path = "../helix-event" }
47helix-view = { path = "../helix-view" }
48helix-lsp = { path = "../helix-lsp" }
49helix-dap = { path = "../helix-dap" }
50helix-vcs = { path = "../helix-vcs" }
51helix-loader = { path = "../helix-loader" }
52
53anyhow = "1"
54once_cell = "1.21"
55
56tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] }
57tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] }
58crossterm = { version = "0.28", features = ["event-stream"] }
59signal-hook = "0.3"
60tokio-stream = "0.1"
61futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
62arc-swap = { version = "1.7.1" }
63termini = "1"
64indexmap = "2.10"
65
66# Logging
67fern = "0.7"
68chrono = { version = "0.4", default-features = false, features = ["clock"] }
69log = "0.4"
70
71# File picker
72nucleo.workspace = true
73ignore = "0.4"
74# markdown doc rendering
75pulldown-cmark = { version = "0.13", default-features = false }
76# file type detection
77content_inspector = "0.2.4"
78thiserror.workspace = true
79
80# opening URLs
81open = "5.3.2"
82url = "2.5.4"
83
84# config
85toml = "0.8"
86
87serde_json = "1.0"
88serde = { version = "1.0", features = ["derive"] }
89
90# ripgrep for global search
91grep-regex = "0.1.13"
92grep-searcher = "0.1.14"
93
94[target.'cfg(not(windows))'.dependencies]  # https://github.com/vorner/signal-hook/issues/100
95signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
96libc = "0.2.174"
97
98[target.'cfg(target_os = "macos")'.dependencies]
99crossterm = { version = "0.28", features = ["event-stream", "use-dev-tty", "libc"] }
100
101[build-dependencies]
102helix-loader = { path = "../helix-loader" }
103
104[dev-dependencies]
105smallvec = "1.15"
106indoc = "2.0.6"
107tempfile.workspace = true
108same-file = "1.0.1"