1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-09-15 17:26:58 +00:00

feat: Generate binary documentation

Also refactors main.rs/mod.rs to silence clippy
This commit is contained in:
Jade Ellis 2025-07-06 21:59:20 +01:00
parent d98ce2c7b9
commit 28a29c3a7b
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
12 changed files with 281 additions and 209 deletions

View file

@ -15,7 +15,7 @@ version.workspace = true
[dependencies]
clap.workspace = true
# Required for working with JSON output from cargo metadata
serde = { version = "1.0", features = ["derive"] }
serde.workspace = true
serde_json = "1.0"
[lints]

View file

@ -1,7 +1,7 @@
use std::{env, process::Command};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut child = Command::new("cargo").args(["run", "--package", "xtask-admin-command", "--"].into_iter().map(ToOwned::to_owned).chain(env::args().skip(2)))
let mut child = Command::new("cargo").args(["run", "--package", "xtask-generate-commands", "--"].into_iter().map(ToOwned::to_owned).chain(env::args().skip(2)))
// .stdout(Stdio::piped())
// .stderr(Stdio::piped())
.spawn()