Skip to content

Commit

Permalink
Reduce duplication in Cargo.toml (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy committed Mar 10, 2024
1 parent 9bba7d6 commit 616af0f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ exclude = [
"doctest",
]
resolver = "2"

[workspace.package]
authors = ["Chris Wong <lambda.fairy@gmail.com>"]
license = "MIT OR Apache-2.0"
homepage = "https://maud.lambda.xyz/"
repository = "https://github.com/lambda-fairy/maud"
edition = "2021"
11 changes: 6 additions & 5 deletions maud/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
name = "maud"
# When releasing a new version, please update html_root_url in src/lib.rs
version = "0.26.0"
authors = ["Chris Wong <lambda.fairy@gmail.com>"]
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/maud/"
homepage = "https://maud.lambda.xyz/"
repository = "https://github.com/lambda-fairy/maud"
description = "Compile-time HTML templates."
categories = ["template-engine"]
edition = "2021"

authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true

[features]
default = []
Expand Down
13 changes: 7 additions & 6 deletions maud_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
name = "maud_macros"
# When releasing a new version, please update html_root_url in src/lib.rs
version = "0.26.0"
authors = ["Chris Wong <lambda.fairy@gmail.com>"]
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/maud_macros/"
homepage = "https://maud.lambda.xyz/"
repository = "https://github.com/lambda-fairy/maud"
description = "Compile-time HTML templates."
edition = "2021"
description = "Internal crate. Please use 'maud' instead."

authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true

[dependencies]
syn = "2"
Expand Down

0 comments on commit 616af0f

Please sign in to comment.