fork/helix

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

dependabot[bot]build(deps): bump signal-hook-tokio from 0.3.1 to 0.4.0 (#15074)bc8a392b

master
3.7 KiB110 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 = ["termina", "crossterm"] }
58termina = { workspace = true, features = ["event-stream"] }
59signal-hook = "0.4"
60tokio-stream = "0.1"
61futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
62arc-swap = { version = "1.8.0" }
63termini = "1"
64indexmap = "2.12"
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
73# MSRV: update once the MSRV is >=1.85
74ignore = "=0.4.23"
75grep-regex = "=0.1.13"
76grep-searcher = "=0.1.14"
77grep-matcher = "=0.1.7"
78# markdown doc rendering
79pulldown-cmark = { version = "0.13", default-features = false }
80# file type detection
81content_inspector = "0.2.4"
82thiserror.workspace = true
83
84# opening URLs
85open = "5.3.3"
86url = "2.5.4"
87
88# config
89toml.workspace = true
90
91serde_json = "1.0"
92serde = { version = "1.0", features = ["derive"] }
93
94dashmap = "6.0"
95
96[target.'cfg(windows)'.dependencies]
97crossterm = { version = "0.28", features = ["event-stream"] }
98
99[target.'cfg(not(windows))'.dependencies]  # https://github.com/vorner/signal-hook/issues/100
100signal-hook-tokio = { version = "0.4", features = ["futures-v0_3"] }
101libc = "0.2.179"
102
103[build-dependencies]
104helix-loader = { path = "../helix-loader" }
105
106[dev-dependencies]
107smallvec = "1.15"
108indoc = "2.0.6"
109tempfile.workspace = true
110same-file = "1.0.1"