From db5bdf4f2da954595d6fe83ef4ace255883726e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Fri, 18 Jun 2021 09:53:29 -0400 Subject: [PATCH] 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 --- helix-core/Cargo.toml | 1 + helix-syntax/Cargo.toml | 7 +++++-- helix-term/Cargo.toml | 1 + helix-tui/Cargo.toml | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 9ae7aff02..9c1c68020 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -4,6 +4,7 @@ version = "0.2.0" authors = ["Blaž Hrastnik "] 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 472b56c0e..3c71fc34f 100644 --- a/helix-syntax/Cargo.toml +++ b/helix-syntax/Cargo.toml @@ -4,8 +4,11 @@ version = "0.2.0" authors = ["Blaž Hrastnik "] 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 1b9df2efb..e1e5da569 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -5,6 +5,7 @@ description = "A post-modern text editor." authors = ["Blaž Hrastnik "] 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 7ba165539..beab049c9 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"]