Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/Cargo.toml')
| -rw-r--r-- | helix-view/Cargo.toml | 86 |
1 files changed, 46 insertions, 40 deletions
diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml index 24dd0f2a..a73bd8f7 100644 --- a/helix-view/Cargo.toml +++ b/helix-view/Cargo.toml @@ -1,66 +1,72 @@ [package] name = "helix-view" +version = "0.6.0" +authors = ["Blaž Hrastnik <[email protected]>"] +edition = "2021" +license = "MPL-2.0" description = "UI abstractions for use in backends" -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 +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" [features] -default = [] -term = ["termina", "crossterm"] -unicode-lines = [] +# default = ["dap", "lsp"] +lsp = ["helix-lsp", "tokio-runtime"] +dap = ["helix-dap", "tokio-stream", "tokio-runtime"] +tokio-runtime = ["tokio"] +term = ["crossterm", "tui"] +ui = [] [dependencies] -helix-stdx = { path = "../helix-stdx" } -helix-core = { path = "../helix-core" } -helix-event = { path = "../helix-event" } -helix-loader = { path = "../helix-loader" } -helix-lsp = { path = "../helix-lsp" } -helix-dap = { path = "../helix-dap" } -helix-vcs = { path = "../helix-vcs" } - -bitflags.workspace = true +bitflags = "1.3" anyhow = "1" -termina = { workspace = true, optional = true } +helix-core = { version = "0.6", path = "../helix-core" } +helix-graphics = { version = "0.6", path = "../helix-graphics" } +helix-lsp = { version = "0.6", path = "../helix-lsp", optional = true } +helix-dap = { version = "0.6", path = "../helix-dap", optional = true } +helix-loader = { version = "0.6", path = "../helix-loader" } +tokio-stream = { version = "0.1", optional = true } +tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot", "sync"], optional = true } -tempfile.workspace = true +crossterm = { version = "0.23", optional = true } +tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"], optional = true } # Conversion traits -once_cell = "1.21" -url = "2.5.4" +once_cell = "1.10" +url = "2" -arc-swap = { version = "1.7.1" } +arc-swap = { version = "1.5.0" } -tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] } -tokio-stream = "0.1" futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false } -slotmap.workspace = true +slotmap = "1" chardetng = "0.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -toml.workspace = true +toml = "0.5" log = "~0.4" -parking_lot.workspace = true -thiserror.workspace = true +# Command dependencies -kstring = "2.0" +# File picker +fuzzy-matcher = "0.3" +ignore = "0.4" +# markdown doc rendering +pulldown-cmark = { version = "0.9", default-features = false } +# file type detection +content_inspector = "0.2.4" -[target.'cfg(windows)'.dependencies] -clipboard-win = { version = "5.4", features = ["std"] } -crossterm = { version = "0.28", optional = true } +# ripgrep for global search +grep-regex = "0.1.9" +grep-searcher = "0.1.8" -[target.'cfg(unix)'.dependencies] -libc = "0.2" -rustix = { version = "1.1", features = ["fs"] } +# Remove once retain_mut lands in stable rust +retain_mut = "0.1.7" -[dev-dependencies] -helix-tui = { path = "../helix-tui" } +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +which = "4.2" + +[target.'cfg(windows)'.dependencies] +clipboard-win = { version = "4.4", features = ["std"] } |