about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2023-11-15 16:55:13 -0600
committerRen Kararou <[email protected]>2023-11-15 16:55:13 -0600
commit25f2f5d358383a130754826b6547c79f5d5ab50e (patch)
tree94d132ac0ce8225310af3864d8e525c82789b248
parent80c9771e932e8d665ee127dc78bd2f6a6794243f (diff)
downloadk2spice-25f2f5d358383a130754826b6547c79f5d5ab50e.tar.gz
k2spice-25f2f5d358383a130754826b6547c79f5d5ab50e.tar.bz2
k2spice-25f2f5d358383a130754826b6547c79f5d5ab50e.zip
use workspace more aggressively for dependency alignment
-rw-r--r--Cargo.toml14
-rw-r--r--usr/src/mei/echo/Cargo.toml7
-rw-r--r--usr/src/mei/false/Cargo.toml7
-rw-r--r--usr/src/mei/hostname/Cargo.toml9
-rw-r--r--usr/src/mei/printf/Cargo.toml9
-rw-r--r--usr/src/mei/pwd/Cargo.toml7
-rw-r--r--usr/src/mei/true/Cargo.toml7
-rw-r--r--usr/src/mei/yes/Cargo.toml7
8 files changed, 50 insertions, 17 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a28f711..9cf911b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,6 @@
 [workspace]
 resolver = "2"
 members = [
-    # userspace commands
     "usr/src/mei/true",
     "usr/src/mei/pwd",
     "usr/src/mei/yes",
@@ -10,3 +9,16 @@ members = [
     "usr/src/mei/false",
     "usr/src/mei/hostname",
 ]
+
+[workspace.package]
+version = "0.1.0"
+edition = "2021"
+authors = ["Ren Kararou <[email protected]>", "Ezra Barrow <[email protected]>"]
+description = "CLA Approved Opinionated Systems Software"
+documentation = "https://k2spice.lesbianunix.dev/"
+
+[workspace.dependencies]
+nix = "0.27"
+clap = { version = "4.4.8", features = ["derive"] }
+serde = { version = "1.0.192", features = ["derive"] }
+
diff --git a/usr/src/mei/echo/Cargo.toml b/usr/src/mei/echo/Cargo.toml
index 8ec00ee..0d7dad6 100644
--- a/usr/src/mei/echo/Cargo.toml
+++ b/usr/src/mei/echo/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "echo"
-version = "0.1.0"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "echo"
diff --git a/usr/src/mei/false/Cargo.toml b/usr/src/mei/false/Cargo.toml
index 7de9061..5788c05 100644
--- a/usr/src/mei/false/Cargo.toml
+++ b/usr/src/mei/false/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "falsecmd"
-version = "0.1.0"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "false"
diff --git a/usr/src/mei/hostname/Cargo.toml b/usr/src/mei/hostname/Cargo.toml
index b691d54..e3fc320 100644
--- a/usr/src/mei/hostname/Cargo.toml
+++ b/usr/src/mei/hostname/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "hostname"
-version = "0.1.0"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "hostname"
 path = "src/hostname.rs"
 
 [dependencies]
-nix = { version = "0.27", features = ["hostname"] }
+nix = { workspace = true, features = ["hostname"] }
diff --git a/usr/src/mei/printf/Cargo.toml b/usr/src/mei/printf/Cargo.toml
index 57fe821..2a7f092 100644
--- a/usr/src/mei/printf/Cargo.toml
+++ b/usr/src/mei/printf/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "printf"
-version = "0.1.0"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "printf"
@@ -10,4 +13,4 @@ path = "src/printf.rs"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-clap = { version = "4.4.8", features = ["derive"] }
+clap.workspace = true
diff --git a/usr/src/mei/pwd/Cargo.toml b/usr/src/mei/pwd/Cargo.toml
index 1bc9e99..6ca2e6d 100644
--- a/usr/src/mei/pwd/Cargo.toml
+++ b/usr/src/mei/pwd/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "pwd"
-version = "0.0.1"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "pwd"
diff --git a/usr/src/mei/true/Cargo.toml b/usr/src/mei/true/Cargo.toml
index ec2d8a5..2ed364f 100644
--- a/usr/src/mei/true/Cargo.toml
+++ b/usr/src/mei/true/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "truecmd"
-version = "0.0.1"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "true"
diff --git a/usr/src/mei/yes/Cargo.toml b/usr/src/mei/yes/Cargo.toml
index d46dce9..c9a369b 100644
--- a/usr/src/mei/yes/Cargo.toml
+++ b/usr/src/mei/yes/Cargo.toml
@@ -1,7 +1,10 @@
 [package]
 name = "yes"
-version = "0.1.0"
-edition = "2021"
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+description.workspace = true
+documentation.workspace = true
 
 [[bin]]
 name = "yes"