From bafc68255c18ab8520c86de806ca105e4dc35530 Mon Sep 17 00:00:00 2001 From: Andreas Bigger Date: Mon, 29 Dec 2025 17:15:04 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20bump=20version=20to=200.2.0=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 18 +++++++++--------- bin/src/commands/job.rs | 10 ++++------ bin/src/main.rs | 4 +--- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 54bfb2c..89f903f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.1.0" +version = "0.2.0" edition = "2024" rust-version = "1.88" license = "MIT" @@ -45,14 +45,14 @@ codegen-units = 16 [workspace.dependencies] # Internal crates -paracas-lib = { path = "crates/paracas-lib", version = "0.1.0" } -paracas-types = { path = "crates/paracas-types", version = "0.1.0" } -paracas-instruments = { path = "crates/paracas-instruments", version = "0.1.0" } -paracas-fetch = { path = "crates/paracas-fetch", version = "0.1.0" } -paracas-aggregate = { path = "crates/paracas-aggregate", version = "0.1.0" } -paracas-format = { path = "crates/paracas-format", version = "0.1.0" } -paracas-estimate = { path = "crates/paracas-estimate", version = "0.1.0" } -paracas-daemon = { path = "crates/paracas-daemon", version = "0.1.0" } +paracas-lib = { path = "crates/paracas-lib", version = "0.2.0" } +paracas-types = { path = "crates/paracas-types", version = "0.2.0" } +paracas-instruments = { path = "crates/paracas-instruments", version = "0.2.0" } +paracas-fetch = { path = "crates/paracas-fetch", version = "0.2.0" } +paracas-aggregate = { path = "crates/paracas-aggregate", version = "0.2.0" } +paracas-format = { path = "crates/paracas-format", version = "0.2.0" } +paracas-estimate = { path = "crates/paracas-estimate", version = "0.2.0" } +paracas-daemon = { path = "crates/paracas-daemon", version = "0.2.0" } # Async runtime tokio = { version = "1.42", features = ["full"] } diff --git a/bin/src/commands/job.rs b/bin/src/commands/job.rs index b51daed..a164769 100644 --- a/bin/src/commands/job.rs +++ b/bin/src/commands/job.rs @@ -34,7 +34,9 @@ pub(crate) fn pause_job(state: &StateManager, job_id: &str) -> Result<()> { #[cfg(windows)] { // Windows doesn't have SIGSTOP equivalent, we'll just update the state - eprintln!("Warning: Pause is not fully supported on Windows. Job state updated but process continues."); + eprintln!( + "Warning: Pause is not fully supported on Windows. Job state updated but process continues." + ); } job.mark_paused(); @@ -185,11 +187,7 @@ pub(crate) fn clean_jobs(state: &StateManager, all: bool) -> Result<()> { } /// Execute the job management command. -pub(crate) fn job_command( - action: &str, - job_id: Option<&str>, - all: bool, -) -> Result<()> { +pub(crate) fn job_command(action: &str, job_id: Option<&str>, all: bool) -> Result<()> { let state_manager = StateManager::with_default_path().context("Failed to initialize state manager")?; diff --git a/bin/src/main.rs b/bin/src/main.rs index 517e55b..94aa27d 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs @@ -274,9 +274,7 @@ async fn main() -> Result<()> { JobAction::Resume { job_id } => { commands::job::job_command("resume", Some(&job_id), false) } - JobAction::Kill { job_id } => { - commands::job::job_command("kill", Some(&job_id), false) - } + JobAction::Kill { job_id } => commands::job::job_command("kill", Some(&job_id), false), JobAction::Clean { all } => commands::job::job_command("clean", None, all), }, }