6d724a8f33
We use `which::which` in many crates, so `which` was a separate dependency across all of them. We can centralize `which` into the stdx crate so it's easy for all crates to depend on it. I also moved the rest of `helix-view/src/env.rs` into helix-stdx's `env` module since it only contained a thin wrapper around `which` and `std::env`.
37 lines
812 B
TOML
37 lines
812 B
TOML
[package]
|
|
name = "helix-loader"
|
|
description = "Build bootstrapping for Helix crates"
|
|
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
|
|
|
|
[[bin]]
|
|
name = "hx-loader"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
helix-stdx = { path = "../helix-stdx" }
|
|
|
|
anyhow = "1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.7"
|
|
etcetera = "0.8"
|
|
tree-sitter.workspace = true
|
|
once_cell = "1.19"
|
|
log = "0.4"
|
|
|
|
# TODO: these two should be on !wasm32 only
|
|
|
|
# cloning/compiling tree-sitter grammars
|
|
cc = { version = "1" }
|
|
threadpool = { version = "1.0" }
|
|
tempfile = "3.9.0"
|
|
dunce = "1.0.4"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
libloading = "0.8"
|