From b48054f3ee28db64110f9ddcc13d7f01bb78b357 Mon Sep 17 00:00:00 2001 From: Benoît CORTIER Date: Fri, 18 Jun 2021 09:48:31 -0400 Subject: cargo: add version to local dependencies First step towards enabling us to publish on crates.io. See: https://github.com/helix-editor/helix/issues/42 --- helix-term/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helix-term/Cargo.toml') diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index cda238fe..1b9df2ef 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -18,9 +18,9 @@ name = "hx" path = "src/main.rs" [dependencies] -helix-core = { path = "../helix-core" } -helix-view = { path = "../helix-view", features = ["term"]} -helix-lsp = { path = "../helix-lsp"} +helix-core = { version = "0.2", path = "../helix-core" } +helix-view = { version = "0.2", path = "../helix-view", features = ["term"]} +helix-lsp = { version = "0.2", path = "../helix-lsp"} anyhow = "1" once_cell = "1.8" -- cgit v1.2.3-70-g09d2 From db5bdf4f2da954595d6fe83ef4ace255883726e9 Mon Sep 17 00:00:00 2001 From: Benoît CORTIER Date: Fri, 18 Jun 2021 09:53:29 -0400 Subject: 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(-) (limited to 'helix-term/Cargo.toml') 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 "] 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 "] 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 "] 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"] -- cgit v1.2.3-70-g09d2 From 03d1ca7b0a2610b5a5ee2956722c0a1fbdc2180c Mon Sep 17 00:00:00 2001 From: Benoît CORTIER Date: Fri, 18 Jun 2021 10:41:03 -0400 Subject: cargo: add more metadata to manifests --- helix-core/Cargo.toml | 7 ++++--- helix-lsp/Cargo.toml | 4 ++++ helix-term/Cargo.toml | 3 +++ helix-tui/Cargo.toml | 3 +++ helix-view/Cargo.toml | 4 ++++ 5 files changed, 18 insertions(+), 3 deletions(-) (limited to 'helix-term/Cargo.toml') diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 9c1c6802..13ac35fb 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -4,11 +4,12 @@ version = "0.2.0" authors = ["Blaž Hrastnik "] edition = "2018" license = "MPL-2.0" +description = "Helix editor core editing primitives" +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - - [features] embed_runtime = ["rust-embed"] diff --git a/helix-lsp/Cargo.toml b/helix-lsp/Cargo.toml index 185fe447..2c1b813d 100644 --- a/helix-lsp/Cargo.toml +++ b/helix-lsp/Cargo.toml @@ -4,6 +4,10 @@ version = "0.2.0" authors = ["Blaž Hrastnik "] edition = "2018" license = "MPL-2.0" +description = "LSP client implementation for Helix project" +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index e1e5da56..385af64c 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -5,6 +5,9 @@ description = "A post-modern text editor." authors = ["Blaž Hrastnik "] edition = "2018" license = "MPL-2.0" +categories = ["editor", "command-line-utilities"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] [package.metadata.nix] diff --git a/helix-tui/Cargo.toml b/helix-tui/Cargo.toml index beab049c..89fa755d 100644 --- a/helix-tui/Cargo.toml +++ b/helix-tui/Cargo.toml @@ -7,6 +7,9 @@ A library to build rich terminal user interfaces or dashboards """ edition = "2018" license = "MPL-2.0" +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] [features] diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml index db96c9aa..13539a5a 100644 --- a/helix-view/Cargo.toml +++ b/helix-view/Cargo.toml @@ -4,6 +4,10 @@ version = "0.2.0" authors = ["Blaž Hrastnik "] edition = "2018" license = "MPL-2.0" +description = "UI abstractions for use in backends" +categories = ["editor"] +repository = "https://github.com/helix-editor/helix" +homepage = "https://helix-editor.com" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -- cgit v1.2.3-70-g09d2