From eed8a2a801194b14364f074dc37e6ad11db29ba3 Mon Sep 17 00:00:00 2001
From: Jason Volk <jason@zemos.net>
Date: Sat, 1 Jun 2024 10:19:26 +0000
Subject: [PATCH] add and sort incomplete package metadata

Signed-off-by: Jason Volk <jason@zemos.net>
---
 Cargo.toml                   | 14 ++++++++------
 deps/rust-rocksdb/Cargo.toml |  8 +++++++-
 src/admin/Cargo.toml         |  8 +++++++-
 src/api/Cargo.toml           |  8 +++++++-
 src/core/Cargo.toml          |  8 +++++++-
 src/database/Cargo.toml      |  8 +++++++-
 src/main/Cargo.toml          | 14 ++++++++------
 src/router/Cargo.toml        |  8 +++++++-
 src/service/Cargo.toml       |  8 +++++++-
 9 files changed, 65 insertions(+), 19 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 83f81817..de6878f0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,19 +6,21 @@ members = ["src/*"]
 default-members = ["src/*"]
 
 [workspace.package]
-description = "a very cool fork of Conduit, a Matrix homeserver written in Rust"
-license = "Apache-2.0"
 authors = [
     "strawberry <strawberry@puppygock.gay>",
     "timokoesters <timo@koesters.xyz>",
 ]
-version = "0.4.1"
+categories = ["network-programming"]
+description = "a very cool fork of Conduit, a Matrix homeserver written in Rust"
 edition = "2021"
-# See also `rust-toolchain.toml`
-rust-version = "1.77.0"
 homepage = "https://conduwuit.puppyirl.gay/"
-repository = "https://github.com/girlbossceo/conduwuit"
+keywords = ["chat", "matrix", "server"]
+license = "Apache-2.0"
+# See also `rust-toolchain.toml`
 readme = "README.md"
+repository = "https://github.com/girlbossceo/conduwuit"
+rust-version = "1.77.0"
+version = "0.4.1"
 
 [workspace.metadata.crane]
 name = "conduit"
diff --git a/deps/rust-rocksdb/Cargo.toml b/deps/rust-rocksdb/Cargo.toml
index 1a39281d..4dce69d1 100644
--- a/deps/rust-rocksdb/Cargo.toml
+++ b/deps/rust-rocksdb/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "rust-rocksdb-uwu"
-version = "0.0.1"
+categories.workspace = true
+description = "dylib wrapper for rust-rocksdb"
 edition = "2021"
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version = "0.0.1"
 
 [features]
 default = ["snappy", "lz4", "zstd", "zlib", "bzip2"]
diff --git a/src/admin/Cargo.toml b/src/admin/Cargo.toml
index 49ec4267..244cf7d2 100644
--- a/src/admin/Cargo.toml
+++ b/src/admin/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_admin"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"
diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml
index 890d66af..315fa76c 100644
--- a/src/api/Cargo.toml
+++ b/src/api/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_api"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"
diff --git a/src/core/Cargo.toml b/src/core/Cargo.toml
index 6b700f1f..988a810b 100644
--- a/src/core/Cargo.toml
+++ b/src/core/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_core"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"
diff --git a/src/database/Cargo.toml b/src/database/Cargo.toml
index 1855cbff..ea013298 100644
--- a/src/database/Cargo.toml
+++ b/src/database/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_database"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"
diff --git a/src/main/Cargo.toml b/src/main/Cargo.toml
index cecdeb58..22c6b2ac 100644
--- a/src/main/Cargo.toml
+++ b/src/main/Cargo.toml
@@ -2,15 +2,17 @@
 # TODO: when can we rename to conduwuit?
 name = "conduit"
 default-run = "conduit"
-description.workspace = true
-license.workspace = true
 authors.workspace = true
-homepage.workspace = true
-repository.workspace = true
-readme.workspace = true
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+homepage.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
 rust-version.workspace = true
+version.workspace = true
 metadata.crane.workspace = true
 
 [package.metadata.deb]
diff --git a/src/router/Cargo.toml b/src/router/Cargo.toml
index 4b197d0a..11028112 100644
--- a/src/router/Cargo.toml
+++ b/src/router/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_router"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"
diff --git a/src/service/Cargo.toml b/src/service/Cargo.toml
index 580706ff..f2990a46 100644
--- a/src/service/Cargo.toml
+++ b/src/service/Cargo.toml
@@ -1,7 +1,13 @@
 [package]
 name = "conduit_service"
-version.workspace = true
+categories.workspace = true
+description.workspace = true
 edition.workspace = true
+keywords.workspace = true
+license.workspace = true
+readme.workspace = true
+repository.workspace = true
+version.workspace = true
 
 [lib]
 path = "mod.rs"