From 418cdfcc44fde49c91fc442f02db29a755b3ca53 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Thu, 8 Feb 2024 17:04:29 +1100 Subject: [PATCH] Use workspace.package --- Cargo.toml | 8 ++++++++ bhttp-convert/Cargo.toml | 10 +++++++--- bhttp/Cargo.toml | 12 ++++++------ ohttp-client-cli/Cargo.toml | 10 +++++++--- ohttp-client/Cargo.toml | 10 +++++++--- ohttp-server/Cargo.toml | 10 +++++++--- ohttp/Cargo.toml | 14 +++++++------- 7 files changed, 49 insertions(+), 25 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0621518..dd427e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,11 @@ members = [ "ohttp-client-cli", "ohttp-server", ] + +[workspace.package] +version = "0.5.1" +authors = ["Martin Thomson "] +edition = "2021" +rust-version = "1.63.0" +license = "MIT OR Apache-2.0" +repository = "https://github.com/martinthomson/ohttp" diff --git a/bhttp-convert/Cargo.toml b/bhttp-convert/Cargo.toml index 634ab92..d07a884 100644 --- a/bhttp-convert/Cargo.toml +++ b/bhttp-convert/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "bhttp-convert" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" +description = "Tool for converting HTTP messages to/from Binary HTTP" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [dependencies] structopt = "0.3" diff --git a/bhttp/Cargo.toml b/bhttp/Cargo.toml index 9dde300..ba981a0 100644 --- a/bhttp/Cargo.toml +++ b/bhttp/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "bhttp" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" -rust-version = "1.63.0" -license = "MIT OR Apache-2.0" description = "Binary HTTP messages (draft-ietf-httpbis-binary-message)" -repository = "https://github.com/martinthomson/ohttp" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["bhttp"] diff --git a/ohttp-client-cli/Cargo.toml b/ohttp-client-cli/Cargo.toml index b49f38b..358c0df 100644 --- a/ohttp-client-cli/Cargo.toml +++ b/ohttp-client-cli/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "ohttp-client-cli" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" +description = "Low-level command-line client for testing OHTTP" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["rust-hpke"] diff --git a/ohttp-client/Cargo.toml b/ohttp-client/Cargo.toml index 3f907d7..21702e3 100644 --- a/ohttp-client/Cargo.toml +++ b/ohttp-client/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "ohttp-client" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" +description = "Test OHTTP client" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["rust-hpke"] diff --git a/ohttp-server/Cargo.toml b/ohttp-server/Cargo.toml index dd3f896..9b829c7 100644 --- a/ohttp-server/Cargo.toml +++ b/ohttp-server/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "ohttp-server" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" +description = "Simple test OHTTP server" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["rust-hpke"] diff --git a/ohttp/Cargo.toml b/ohttp/Cargo.toml index 207fa55..5275bf6 100644 --- a/ohttp/Cargo.toml +++ b/ohttp/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "ohttp" -version = "0.5.1" -authors = ["Martin Thomson "] -edition = "2021" -rust-version = "1.63.0" -build = "build.rs" -license = "MIT OR Apache-2.0" description = "Oblivious HTTP" -repository = "https://github.com/martinthomson/ohttp" +build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["client", "server", "rust-hpke"]