aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît CORTIER2021-06-18 13:53:29 +0000
committerBlaž Hrastnik2021-06-19 01:04:59 +0000
commitdb5bdf4f2da954595d6fe83ef4ace255883726e9 (patch)
tree7ec3b7b7b3da5c8b42ae867daf8e069fd47275b6
parentb48054f3ee28db64110f9ddcc13d7f01bb78b357 (diff)
Run cargo-diet
cargo-diet is a helper for computing the optimal `include` directives for Cargo.toml manifests. https://github.com/the-lean-crate/cargo-diet
-rw-r--r--helix-core/Cargo.toml1
-rw-r--r--helix-syntax/Cargo.toml7
-rw-r--r--helix-term/Cargo.toml1
-rw-r--r--helix-tui/Cargo.toml1
4 files changed, 8 insertions, 2 deletions
diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml
index 9ae7aff0..9c1c6802 100644
--- a/helix-core/Cargo.toml
+++ b/helix-core/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.2.0"
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
edition = "2018"
license = "MPL-2.0"
+include = ["src/**/*", "README.md"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/helix-syntax/Cargo.toml b/helix-syntax/Cargo.toml
index 472b56c0..3c71fc34 100644
--- a/helix-syntax/Cargo.toml
+++ b/helix-syntax/Cargo.toml
@@ -4,8 +4,11 @@ version = "0.2.0"
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
edition = "2018"
license = "MPL-2.0"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+description = "Tree-sitter grammars support"
+categories = ["editor"]
+repository = "https://github.com/helix-editor/helix"
+homepage = "https://helix-editor.com"
+include = ["src/**/*", "languages/**/*", "build.rs", "!**/docs/**/*", "!**/test/**/*", "!**/examples/**/*", "!**/build/**/*"]
[dependencies]
tree-sitter = "0.19"
diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml
index 1b9df2ef..e1e5da56 100644
--- a/helix-term/Cargo.toml
+++ b/helix-term/Cargo.toml
@@ -5,6 +5,7 @@ description = "A post-modern text editor."
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
edition = "2018"
license = "MPL-2.0"
+include = ["src/**/*", "README.md"]
[package.metadata.nix]
build = true
diff --git a/helix-tui/Cargo.toml b/helix-tui/Cargo.toml
index 7ba16553..beab049c 100644
--- a/helix-tui/Cargo.toml
+++ b/helix-tui/Cargo.toml
@@ -7,6 +7,7 @@ A library to build rich terminal user interfaces or dashboards
"""
edition = "2018"
license = "MPL-2.0"
+include = ["src/**/*", "README.md"]
[features]
default = ["crossterm"]