1
0
Fork 0
mirror of https://git.sr.ht/~spicywolf/k2spice synced 2025-01-18 09:49:38 +00:00

use workspace more aggressively for dependency alignment

This commit is contained in:
Ren Kararou 2023-11-15 16:55:13 -06:00
parent 80c9771e93
commit 25f2f5d358
Signed by: spicywolf
GPG key ID: B0BA4EEC0714F8E6
8 changed files with 50 additions and 17 deletions

View file

@ -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 <ren@kararou.space>", "Ezra Barrow <barrow@tilde.team>"]
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"] }

View file

@ -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"

View file

@ -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"

View file

@ -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"] }

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"