aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-10-21 00:01:35 -0500
committerToby Vincent <tobyv13@gmail.com>2022-10-21 00:01:35 -0500
commit607d964d2778f2fc06902296bde539fd79ba059b (patch)
tree73ccb61ac0a8c56cb95ded8a3f22ae1229a170c6
parentfa114ff75055b4464f8152e1f0a7142fffbd4fd5 (diff)
chore: update package Cargo.toml to use workspace values
-rw-r--r--Cargo.toml24
-rw-r--r--zone/Cargo.toml19
-rw-r--r--zone_core/Cargo.toml25
-rw-r--r--zone_nspawn/Cargo.toml19
-rw-r--r--zone_overlay/Cargo.toml14
-rw-r--r--zone_zfs/Cargo.toml19
-rw-r--r--zoned/Cargo.toml19
7 files changed, 82 insertions, 57 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 191b691..953de80 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,3 +1,25 @@
[workspace]
-members = ["zone", "zone_core", "zone_nspawn", "zone_zfs", "zone_overlay", "zoned"]
+members = [
+ "zone",
+ "zone_core",
+ "zone_nspawn",
+ "zone_zfs",
+ "zone_overlay",
+ "zoned",
+]
default-members = ["zone", "zoned"]
+
+
+[workspace.package]
+version = "0.1.0"
+authors = [
+ "Neil Kollack <nkollack@gmail.com>",
+ "Toby Vincent <tobyv13@gmail.com>",
+]
+edition = "2021"
+description = "A lightweight container management system"
+homepage = "https://sr.ht/~tobyvin/zone"
+repository = "https://git.sr.ht/~tobyvin/zone"
+license = "MIT"
+keywords = ["zone", "zoned", "container", "containers", "websocket"]
+categories = ["HTTP server", "WebSocket"]
diff --git a/zone/Cargo.toml b/zone/Cargo.toml
index 1c000c1..05331fa 100644
--- a/zone/Cargo.toml
+++ b/zone/Cargo.toml
@@ -1,15 +1,14 @@
[package]
name = "zone"
-version = "0.1.0"
-edition = "2021"
-license = "MIT"
-authors = [
- "Neil Kollack <nkollack@gmail.com>",
- "Toby Vincent <tobyv13@gmail.com>",
-]
-description = "CLI for zoned"
-categories = ["command-line-utilities", "HTTP client", "WebSocket"]
-keywords = ["zone", "zoned", "container", "containers"]
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
workspace = ".."
[dependencies]
diff --git a/zone_core/Cargo.toml b/zone_core/Cargo.toml
index 0f79478..5255f3a 100644
--- a/zone_core/Cargo.toml
+++ b/zone_core/Cargo.toml
@@ -1,19 +1,22 @@
[package]
name = "zone_core"
-version = "0.1.0"
-edition = "2021"
-license = "MIT"
-authors = [
- "Neil Kollack <nkollack@gmail.com>",
- "Toby Vincent <tobyv13@gmail.com>",
-]
-description = "Core types and traits for zone"
-keywords = ["zone", "zoned"]
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
workspace = ".."
[dependencies]
async-trait = "0.1.57"
-clap = { version = "3.2.22", default-features = false, features = ["std", "derive"] }
+clap = { version = "3.2.22", default-features = false, features = [
+ "std",
+ "derive",
+] }
derive_builder = "0.11.2"
serde = "1.0.145"
strum = "0.24.1"
@@ -22,5 +25,3 @@ tabled = "0.8.0"
thiserror = "1.0.36"
tokio = "1.21.1"
wspty = "0.1.1"
-
-[features]
diff --git a/zone_nspawn/Cargo.toml b/zone_nspawn/Cargo.toml
index 0734382..678f141 100644
--- a/zone_nspawn/Cargo.toml
+++ b/zone_nspawn/Cargo.toml
@@ -1,15 +1,14 @@
[package]
name = "zone_nspawn"
-version = "0.1.0"
-edition = "2021"
-license = "MIT"
-authors = [
- "Neil Kollack <nkollack@gmail.com>",
- "Toby Vincent <tobyv13@gmail.com>",
-]
-description = "API for managing systemd-nspawn containers"
-categories = ["Unix APIs"]
-keywords = ["zone", "zoned", "systemd", "nspawn", "systemd-nspawn"]
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
workspace = ".."
[dependencies]
diff --git a/zone_overlay/Cargo.toml b/zone_overlay/Cargo.toml
index 467274a..b0ab535 100644
--- a/zone_overlay/Cargo.toml
+++ b/zone_overlay/Cargo.toml
@@ -1,9 +1,15 @@
[package]
name = "zone_overlay"
-version = "0.1.0"
-edition = "2021"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
+workspace = ".."
[dependencies]
figment = { version = "0.10.7", features = ["toml", "env"] }
diff --git a/zone_zfs/Cargo.toml b/zone_zfs/Cargo.toml
index 66c710f..a13cd91 100644
--- a/zone_zfs/Cargo.toml
+++ b/zone_zfs/Cargo.toml
@@ -1,15 +1,14 @@
[package]
name = "zone_zfs"
-version = "0.1.0"
-edition = "2021"
-license = "MIT"
-authors = [
- "Neil Kollack <nkollack@gmail.com>",
- "Toby Vincent <tobyv13@gmail.com>",
-]
-description = "ZFS storage driver for zoned"
-categories = ["filesystem", "Unix APIs"]
-keywords = ["zone", "zoned", "zfs"]
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
workspace = ".."
[dependencies]
diff --git a/zoned/Cargo.toml b/zoned/Cargo.toml
index e15e217..13df451 100644
--- a/zoned/Cargo.toml
+++ b/zoned/Cargo.toml
@@ -1,15 +1,14 @@
[package]
name = "zoned"
-version = "0.1.0"
-edition = "2021"
-license = "MIT"
-authors = [
- "Neil Kollack <nkollack@gmail.com>",
- "Toby Vincent <tobyv13@gmail.com>",
-]
-description = "A lightweight container management system"
-categories = ["HTTP server", "WebSocket"]
-keywords = ["zone", "zoned", "container", "containers", "websocket"]
+version.workspace = true
+authors.workspace = true
+edition.workspace = true
+description.workspace = true
+homepage.workspace = true
+repository.workspace = true
+license.workspace = true
+keywords.workspace = true
+categories.workspace = true
workspace = ".."
[dependencies]