chore: bump version to 0.2.0 🚀

This commit is contained in:
Andreas Bigger
2025-12-29 17:18:39 -05:00
parent 3e28cef4bb
commit bafc68255c
3 changed files with 14 additions and 18 deletions
+9 -9
View File
@@ -1,5 +1,5 @@
[workspace.package] [workspace.package]
version = "0.1.0" version = "0.2.0"
edition = "2024" edition = "2024"
rust-version = "1.88" rust-version = "1.88"
license = "MIT" license = "MIT"
@@ -45,14 +45,14 @@ codegen-units = 16
[workspace.dependencies] [workspace.dependencies]
# Internal crates # Internal crates
paracas-lib = { path = "crates/paracas-lib", version = "0.1.0" } paracas-lib = { path = "crates/paracas-lib", version = "0.2.0" }
paracas-types = { path = "crates/paracas-types", version = "0.1.0" } paracas-types = { path = "crates/paracas-types", version = "0.2.0" }
paracas-instruments = { path = "crates/paracas-instruments", version = "0.1.0" } paracas-instruments = { path = "crates/paracas-instruments", version = "0.2.0" }
paracas-fetch = { path = "crates/paracas-fetch", version = "0.1.0" } paracas-fetch = { path = "crates/paracas-fetch", version = "0.2.0" }
paracas-aggregate = { path = "crates/paracas-aggregate", version = "0.1.0" } paracas-aggregate = { path = "crates/paracas-aggregate", version = "0.2.0" }
paracas-format = { path = "crates/paracas-format", version = "0.1.0" } paracas-format = { path = "crates/paracas-format", version = "0.2.0" }
paracas-estimate = { path = "crates/paracas-estimate", version = "0.1.0" } paracas-estimate = { path = "crates/paracas-estimate", version = "0.2.0" }
paracas-daemon = { path = "crates/paracas-daemon", version = "0.1.0" } paracas-daemon = { path = "crates/paracas-daemon", version = "0.2.0" }
# Async runtime # Async runtime
tokio = { version = "1.42", features = ["full"] } tokio = { version = "1.42", features = ["full"] }
+4 -6
View File
@@ -34,7 +34,9 @@ pub(crate) fn pause_job(state: &StateManager, job_id: &str) -> Result<()> {
#[cfg(windows)] #[cfg(windows)]
{ {
// Windows doesn't have SIGSTOP equivalent, we'll just update the state // 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(); job.mark_paused();
@@ -185,11 +187,7 @@ pub(crate) fn clean_jobs(state: &StateManager, all: bool) -> Result<()> {
} }
/// Execute the job management command. /// Execute the job management command.
pub(crate) fn job_command( pub(crate) fn job_command(action: &str, job_id: Option<&str>, all: bool) -> Result<()> {
action: &str,
job_id: Option<&str>,
all: bool,
) -> Result<()> {
let state_manager = let state_manager =
StateManager::with_default_path().context("Failed to initialize state manager")?; StateManager::with_default_path().context("Failed to initialize state manager")?;
+1 -3
View File
@@ -274,9 +274,7 @@ async fn main() -> Result<()> {
JobAction::Resume { job_id } => { JobAction::Resume { job_id } => {
commands::job::job_command("resume", Some(&job_id), false) commands::job::job_command("resume", Some(&job_id), false)
} }
JobAction::Kill { job_id } => { JobAction::Kill { job_id } => commands::job::job_command("kill", Some(&job_id), false),
commands::job::job_command("kill", Some(&job_id), false)
}
JobAction::Clean { all } => commands::job::job_command("clean", None, all), JobAction::Clean { all } => commands::job::job_command("clean", None, all),
}, },
} }