mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
b7f98d1d99
* fix: version of Cargo feature resolver. This commit solve the ambiguity to determin the version of resolver. To get more detail, see the following two documents: - https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions - https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html * unified: Rust edition in all workspaces. Now, the Rust 2021 is available in all workspaces. * fined up: Cargo.toml by using workspace inheritance. To get more detail of the `workspace.package` table, see a following document: - https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
37 lines
822 B
TOML
37 lines
822 B
TOML
[package]
|
|
name = "helix-loader"
|
|
version = "0.6.0"
|
|
description = "A post-modern text editor."
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
|
|
[[bin]]
|
|
name = "hx-loader"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.7"
|
|
etcetera = "0.8"
|
|
tree-sitter.workspace = true
|
|
once_cell = "1.18"
|
|
log = "0.4"
|
|
which = "5.0.0"
|
|
|
|
# TODO: these two should be on !wasm32 only
|
|
|
|
# cloning/compiling tree-sitter grammars
|
|
cc = { version = "1" }
|
|
threadpool = { version = "1.0" }
|
|
tempfile = "3.8.1"
|
|
dunce = "1.0.4"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
libloading = "0.8"
|