diff --git a/Cargo.lock b/Cargo.lock index 294450d42..edd3cff1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -777,7 +777,7 @@ dependencies = [ [[package]] name = "gen-protos" -version = "0.1.0" +version = "0.8.0" dependencies = [ "prost-build", ] diff --git a/Cargo.toml b/Cargo.toml index db6c616b0..9ae3a767d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,18 @@ cargo-features = [] resolver = "2" members = ["cli", "lib", "lib/testutils", "lib/gen-protos"] +[workspace.package] +version = "0.8.0" +license = "Apache-2.0" +rust-version = "1.71" # NOTE: remember to update CI, contributing.md, changelog.md, and flake.nix +edition = "2021" +readme = "README.md" +homepage = "https://github.com/martinvonz/jj" +repository = "https://github.com/martinvonz/jj" +documentation = "https://github.com/martinvonz/jj" +categories = ["version-control", "development-tools"] +keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"] + [workspace.dependencies] anyhow = "1.0.72" assert_cmd = "2.0.8" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index ce8adc05a..84a87819b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,19 +1,17 @@ [package] name = "jj-cli" -version = "0.8.0" -authors = ["Martin von Zweigbergk "] -edition = "2021" -rust-version = "1.71" # Remember to update CI, and contributing.md -license = "Apache-2.0" -description = "Jujutsu (an experimental VCS)" -homepage = "https://github.com/martinvonz/jj" -repository = "https://github.com/martinvonz/jj" -documentation = "https://docs.rs/jj-cli" -readme = "README.md" -keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"] -categories = ["command-line-utilities", "development-tools"] +description = "Jujutsu - an experimental version control system" default-run = "jj" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +documentation.workspace = true +keywords.workspace = true + [[bin]] name = "jj" path = "src/main.rs" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 38399c1c1..3cf929337 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,17 +1,15 @@ [package] name = "jj-lib" -version = "0.8.0" -authors = ["Martin von Zweigbergk "] -edition = "2021" -rust-version = "1.71" -license = "Apache-2.0" -description = "Library for Jujutsu (an experimental VCS)" -homepage = "https://github.com/martinvonz/jj" -repository = "https://github.com/martinvonz/jj" -documentation = "https://docs.rs/jj-lib" -readme = "../README.md" +description = "Library for Jujutsu - an experimental version control system" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +documentation.workspace = true +readme.workspace = true [[bench]] name = "diff_bench" diff --git a/lib/gen-protos/Cargo.toml b/lib/gen-protos/Cargo.toml index 4b6a10efc..96af06b1c 100644 --- a/lib/gen-protos/Cargo.toml +++ b/lib/gen-protos/Cargo.toml @@ -1,9 +1,11 @@ [package] name = "gen-protos" -version = "0.1.0" -edition = "2021" -license = "Apache-2.0" +description = "Generate Protocol Buffers definitions for the jj-lib crate" publish = false +version.workspace = true +edition.workspace = true +license.workspace = true + [dependencies] prost-build.workspace = true diff --git a/lib/testutils/Cargo.toml b/lib/testutils/Cargo.toml index 85e748b26..7861793b0 100644 --- a/lib/testutils/Cargo.toml +++ b/lib/testutils/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "testutils" -version = "0.8.0" -authors = ["Martin von Zweigbergk "] -edition = "2021" -rust-version = "1.61" -license = "Apache-2.0" description = "Integration test utils for the jj-lib crate" -homepage = "https://github.com/martinvonz/jj" -repository = "https://github.com/martinvonz/jj" -documentation = "https://docs.rs/jj-lib" -readme = "../..//README.md" publish = false +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +documentation.workspace = true +readme.workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]