From 1c8a501be12305677e682aecc4e928273efa62d9 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Fri, 14 Oct 2022 10:21:07 +0100 Subject: [PATCH] git-ref-format: prepare git-ref-format crates for publishing Attempting to publish these crates results in errors that the `description` field is missing and that the path dependencies do not specify versions. Add the `description` and `keywords` fields to `git-ref-format-core`, `git-ref-format-macro` and `git-ref-format`. Add the versions for the dependent crates. Signed-off-by: Fintan Halpenny --- git-ref-format/Cargo.toml | 4 ++++ git-ref-format/core/Cargo.toml | 2 ++ git-ref-format/macro/Cargo.toml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/git-ref-format/Cargo.toml b/git-ref-format/Cargo.toml index 57599d1..7b83d94 100644 --- a/git-ref-format/Cargo.toml +++ b/git-ref-format/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" authors = ["Kim Altintop "] edition = "2018" license = "GPL-3.0-or-later" +description = "Everything you never knew you wanted for handling git ref names." +keywords = ["git", "references"] [lib] doctest = false @@ -18,8 +20,10 @@ percent-encoding = ["git-ref-format-core/percent-encoding"] serde = ["git-ref-format-core/serde"] [dependencies.git-ref-format-core] +version = "0.1.0" path = "./core" [dependencies.git-ref-format-macro] +version = "0.1.0" path = "./macro" optional = true diff --git a/git-ref-format/core/Cargo.toml b/git-ref-format/core/Cargo.toml index 8c6bace..a748fb0 100644 --- a/git-ref-format/core/Cargo.toml +++ b/git-ref-format/core/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" authors = ["Kim Altintop "] edition = "2018" license = "GPL-3.0-or-later" +description = "Core types for the git-ref-format crate" +keywords = ["git", "references"] [lib] doctest = false diff --git a/git-ref-format/macro/Cargo.toml b/git-ref-format/macro/Cargo.toml index 4b4b68b..ac5b186 100644 --- a/git-ref-format/macro/Cargo.toml +++ b/git-ref-format/macro/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" authors = ["Kim Altintop "] edition = "2018" license = "GPL-3.0-or-later" +description = "Macros for the git-ref-format crate" +keywords = ["git", "references"] [lib] doctest = false @@ -16,4 +18,5 @@ quote = "1" syn = "1" [dependencies.git-ref-format-core] +version = "0.1.0" path = "../core"