Skip to content

Commit

Permalink
Merge pull request #569 from joshtriplett/workspace
Browse files Browse the repository at this point in the history
Clean up Cargo.toml files and use workspace inheritance
  • Loading branch information
epage authored Jun 8, 2023
2 parents c71b17b + 9c4faad commit 48fb5a2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 19 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
homepage = "https://github.com/toml-rs/toml"
repository = "https://github.com/toml-rs/toml"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
Expand Down
6 changes: 2 additions & 4 deletions crates/serde_spanned/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "serde_spanned"
version = "0.6.2"
readme = "README.md"
keywords = ["serde", "span"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "Serde-compatible spanned Value"
repository = "https://github.com/toml-rs/toml"
homepage = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/serde_spanned"
repository.workspace = true
homepage.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
6 changes: 2 additions & 4 deletions crates/serde_toml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "serde_toml"
version = "0.0.1"
readme = "README.md"
keywords = ["encoding", "toml"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "See instead `toml`"
repository = "https://github.com/toml-rs/toml"
homepage = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/toml"
repository.workspace = true
homepage.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
6 changes: 2 additions & 4 deletions crates/toml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[package]
name = "toml"
version = "0.7.4"
readme = "README.md"
keywords = ["encoding", "toml"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = """
Expand All @@ -10,9 +9,8 @@ implementations of the standard Serialize/Deserialize traits for TOML data to
facilitate deserializing and serializing Rust structures.
"""
authors = ["Alex Crichton <[email protected]>"]
repository = "https://github.com/toml-rs/toml"
homepage = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/toml"
repository.workspace = true
homepage.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
6 changes: 2 additions & 4 deletions crates/toml_datetime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[package]
name = "toml_datetime"
version = "0.6.2"
readme = "README.md"
keywords = ["encoding", "toml"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "A TOML-compatible datetime type"
authors = ["Alex Crichton <[email protected]>"]
repository = "https://github.com/toml-rs/toml"
homepage = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/toml_datetime"
repository.workspace = true
homepage.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
4 changes: 1 addition & 3 deletions crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "toml_edit"
version = "0.19.10"
readme = "README.md"
keywords = ["encoding", "toml"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
description = "Yet another format-preserving TOML parser."
authors = ["Andronik Ordian <[email protected]>", "Ed Page <[email protected]>"]
repository = "https://github.com/toml-rs/toml"
documentation = "https://docs.rs/toml_edit"
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down

0 comments on commit 48fb5a2

Please sign in to comment.