From d8a7135b59d89a2e2223caee179c5443ad08de27 Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Sat, 23 Dec 2023 21:03:41 +0100 Subject: [PATCH] chore: use workspace metadata as primary --- Cargo.toml | 3 ++- hitt-cli/Cargo.toml | 14 ++++++++++---- hitt-formatter/Cargo.toml | 11 +++++++++-- hitt-parser/Cargo.toml | 11 +++++++++-- hitt-request/Cargo.toml | 11 +++++++++-- 5 files changed, 39 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b69e866..1973a2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,6 @@ members = ["hitt-cli", "hitt-formatter", "hitt-parser", "hitt-request"] resolver = "2" - [workspace.package] version = "0.0.1" authors = ["Mads Hougesen "] @@ -12,3 +11,5 @@ rust-version = "1.70.0" repository = "https://github.com/hougesen/hitt" documentation = "https://github.com/hougesen/hitt#readme" keywords = ["http", "cli"] +description = "command line HTTP testing tool focused on speed and simplicity" +homepage = "https://github.com/hougesen/hitt" diff --git a/hitt-cli/Cargo.toml b/hitt-cli/Cargo.toml index 4372791..4c8ef51 100644 --- a/hitt-cli/Cargo.toml +++ b/hitt-cli/Cargo.toml @@ -1,8 +1,14 @@ [package] -name = "hitt-cli" -version = "0.0.1" -edition = "2021" -description = "Command line HTTP testing tool focused on speed and simplicity" +name = "hitt" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +keywords.workspace = true +rust-version.workspace = true +homepage.workspace = true +documentation.workspace = true [[bin]] name = "hitt" diff --git a/hitt-formatter/Cargo.toml b/hitt-formatter/Cargo.toml index 4160139..5b43a93 100644 --- a/hitt-formatter/Cargo.toml +++ b/hitt-formatter/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "hitt-formatter" -version = "0.0.1" -edition = "2021" +description = "Code formatter for the hitt http testing tool" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +keywords.workspace = true +rust-version.workspace = true +homepage.workspace = true [dependencies] jsonformat = "2.0.0" diff --git a/hitt-parser/Cargo.toml b/hitt-parser/Cargo.toml index 6a0ddb2..d5e9496 100644 --- a/hitt-parser/Cargo.toml +++ b/hitt-parser/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "hitt-parser" -version = "0.0.1" -edition = "2021" +description = "Parser for http files for the hitt http testing tool" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +keywords.workspace = true +rust-version.workspace = true +homepage.workspace = true [dependencies] http = "0.2.9" diff --git a/hitt-request/Cargo.toml b/hitt-request/Cargo.toml index d631e37..375d6fe 100644 --- a/hitt-request/Cargo.toml +++ b/hitt-request/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "hitt-request" -version = "0.0.1" -edition = "2021" +description = "" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +keywords.workspace = true +rust-version.workspace = true +homepage.workspace = true [dependencies] hitt-parser = { path = "../hitt-parser" }