diff --git a/Cargo.toml b/Cargo.toml index 0792412ff..9e913672b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,5 +22,18 @@ exclude = [ resolver = "2" +[workspace.package] +version = "0.12.6" +authors = [ + "Dan Burkert ", + "Lucio Franco ", + "Casper Meijn ", + "Tokio Contributors ", +] +license = "Apache-2.0" +repository = "https://github.com/tokio-rs/prost" +rust-version = "1.70" +edition = "2021" + [profile.bench] debug = true diff --git a/conformance/Cargo.toml b/conformance/Cargo.toml index dfc720770..9184055e6 100644 --- a/conformance/Cargo.toml +++ b/conformance/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "conformance" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false -edition = "2021" +edition.workspace = true +authors.workspace = true [dependencies] bytes = "1" diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a29cf70aa..3e745e88b 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "fuzz" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false -edition = "2021" +edition.workspace = true +authors.workspace = true [package.metadata] cargo-fuzz = true diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index ee7ee27f7..d3c6fe507 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -1,19 +1,13 @@ [package] name = "prost-build" -version = "0.12.6" -authors = [ - "Dan Burkert ", - "Lucio Franco ", - "Casper Meijn ", - "Tokio Contributors ", -] -license = "Apache-2.0" -repository = "https://github.com/tokio-rs/prost" -documentation = "https://docs.rs/prost-build" readme = "README.md" description = "Generate Prost annotated Rust types from Protocol Buffers files." -edition = "2021" -rust-version = "1.70" +version.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [features] default = ["format"] diff --git a/prost-derive/Cargo.toml b/prost-derive/Cargo.toml index 5049aa24f..96134b9c6 100644 --- a/prost-derive/Cargo.toml +++ b/prost-derive/Cargo.toml @@ -1,19 +1,13 @@ [package] name = "prost-derive" -version = "0.12.6" -authors = [ - "Dan Burkert ", - "Lucio Franco ", - "Casper Meijn ", - "Tokio Contributors ", -] -license = "Apache-2.0" -repository = "https://github.com/tokio-rs/prost" -documentation = "https://docs.rs/prost-derive" readme = "README.md" description = "Generate encoding and decoding implementations for Prost annotated types." -edition = "2021" -rust-version = "1.70" +version.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [lib] proc_macro = true diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index 204a76155..457c6546f 100644 --- a/prost-types/Cargo.toml +++ b/prost-types/Cargo.toml @@ -1,19 +1,13 @@ [package] name = "prost-types" -version = "0.12.6" -authors = [ - "Dan Burkert ", - "Lucio Franco ", - "Casper Meijn ", - "Tokio Contributors ", -] -license = "Apache-2.0" -repository = "https://github.com/tokio-rs/prost" -documentation = "https://docs.rs/prost-types" readme = "README.md" description = "Prost definitions of Protocol Buffers well known types." -edition = "2021" -rust-version = "1.70" +version.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [lib] doctest = false diff --git a/prost/Cargo.toml b/prost/Cargo.toml index 2f9ae1ca0..cc4e52689 100644 --- a/prost/Cargo.toml +++ b/prost/Cargo.toml @@ -1,21 +1,15 @@ [package] name = "prost" -version = "0.12.6" -authors = [ - "Dan Burkert ", - "Lucio Franco ", - "Casper Meijn ", - "Tokio Contributors ", -] -license = "Apache-2.0" -repository = "https://github.com/tokio-rs/prost" -documentation = "https://docs.rs/prost" readme = "README.md" description = "A Protocol Buffers implementation for the Rust Language." keywords = ["protobuf", "serialization"] categories = ["encoding"] -edition = "2021" -rust-version = "1.70" +version.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [lib] # https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options diff --git a/protobuf/Cargo.toml b/protobuf/Cargo.toml index c8192b728..f0c8adeac 100644 --- a/protobuf/Cargo.toml +++ b/protobuf/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "protobuf" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false -edition = "2021" +edition.workspace = true +authors.workspace = true [dependencies] prost = { path = "../prost" } diff --git a/tests-2015/Cargo.toml b/tests-2015/Cargo.toml index 2e406ea79..0d300a806 100644 --- a/tests-2015/Cargo.toml +++ b/tests-2015/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "tests-2015" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false edition = "2015" +authors.workspace = true build = "../tests/src/build.rs" diff --git a/tests-no-std/Cargo.toml b/tests-no-std/Cargo.toml index 7a5c7b674..60d92adf5 100644 --- a/tests-no-std/Cargo.toml +++ b/tests-no-std/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "tests-no-std" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false -edition = "2021" +edition.workspace = true +authors.workspace = true build = "../tests/src/build.rs" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 141f65690..686e8b8c2 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,12 +1,9 @@ [package] name = "tests" version = "0.0.0" -authors = [ - "Dan Burkert ", - "Tokio Contributors ", -] publish = false -edition = "2021" +edition.workspace = true +authors.workspace = true build = "src/build.rs"