Skip to content

Commit

Permalink
DRY up package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kailan committed Jul 9, 2024
1 parent 420d8bc commit 682d08f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ members = [
"examples/esi_example_minimal",
"examples/esi_example_advanced_error_handling"
]

[workspace.package]
version = "4.1.0"
authors = ["Kailan Blanks <kblanks@fastly.com>"]
license = "MIT"
edition = "2018"
6 changes: 3 additions & 3 deletions esi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <kblanks@fastly.com>"]
edition = "2018"
readme = "./README.md"

Expand Down
5 changes: 3 additions & 2 deletions examples/esi_example_advanced_error_handling/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "esi_example_advanced_error_handling"
version = "0.4.1"
authors = ["Kailan Blanks <kailan@enviark.com>"]
version.workspace = true
authors.workspace = true
license.workspace = true
edition = "2018"
publish = false

Expand Down
7 changes: 4 additions & 3 deletions examples/esi_example_minimal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "esi_example_minimal"
version = "0.4.1"
authors = ["Kailan Blanks <kailan@enviark.com>"]
edition = "2018"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
publish = false

[dependencies]
Expand Down

0 comments on commit 682d08f

Please sign in to comment.