From 682d08ffc4e806959b0fbb0d0fedfc3de2b8634f Mon Sep 17 00:00:00 2001 From: Kailan Blanks Date: Tue, 9 Jul 2024 14:21:58 +0100 Subject: [PATCH] DRY up package metadata --- Cargo.toml | 6 ++++++ esi/Cargo.toml | 6 +++--- examples/esi_example_advanced_error_handling/Cargo.toml | 5 +++-- examples/esi_example_minimal/Cargo.toml | 7 ++++--- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae71b03..f53b201 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,9 @@ members = [ "examples/esi_example_minimal", "examples/esi_example_advanced_error_handling" ] + +[workspace.package] +version = "4.1.0" +authors = ["Kailan Blanks "] +license = "MIT" +edition = "2018" diff --git a/esi/Cargo.toml b/esi/Cargo.toml index ce62a1f..19843d8 100644 --- a/esi/Cargo.toml +++ b/esi/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "esi" -version = "0.4.1" +version.workspace = true +authors.workspace = true +license.workspace = true description = "A streaming parser and executor for Edge Side Includes" repository = "https://github.com/fastly/esi" -license = "MIT" -authors = ["Kailan Blanks "] edition = "2018" readme = "./README.md" diff --git a/examples/esi_example_advanced_error_handling/Cargo.toml b/examples/esi_example_advanced_error_handling/Cargo.toml index 6e199ed..131c59e 100644 --- a/examples/esi_example_advanced_error_handling/Cargo.toml +++ b/examples/esi_example_advanced_error_handling/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "esi_example_advanced_error_handling" -version = "0.4.1" -authors = ["Kailan Blanks "] +version.workspace = true +authors.workspace = true +license.workspace = true edition = "2018" publish = false diff --git a/examples/esi_example_minimal/Cargo.toml b/examples/esi_example_minimal/Cargo.toml index b05bbc6..54197f8 100644 --- a/examples/esi_example_minimal/Cargo.toml +++ b/examples/esi_example_minimal/Cargo.toml @@ -1,8 +1,9 @@ [package] name = "esi_example_minimal" -version = "0.4.1" -authors = ["Kailan Blanks "] -edition = "2018" +version.workspace = true +authors.workspace = true +license.workspace = true +edition.workspace = true publish = false [dependencies]