From a1441f7bb1779213de6bf392aa1c7f5079294125 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Mon, 19 Feb 2024 18:47:48 -0500 Subject: [PATCH] Bump versions to 0.6.0 --- Cargo.lock | 2 +- Cargo.nix | 13 ++++++++++++- fitnesstrax/app/Cargo.toml | 2 +- fitnesstrax/app/src/main.rs | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 733973c..f2d8953 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -936,7 +936,7 @@ checksum = "8fcfdc7a0362c9f4444381a9e697c79d435fe65b52a37466fc2c1184cee9edc6" [[package]] name = "fitnesstrax" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-channel", "async-trait", diff --git a/Cargo.nix b/Cargo.nix index aa7c5d8..47475e9 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -2989,7 +2989,7 @@ rec { }; "fitnesstrax" = rec { crateName = "fitnesstrax"; - version = "0.5.0"; + version = "0.6.0"; edition = "2021"; crateBin = [ { @@ -3384,6 +3384,13 @@ rec { crateName = "ft-core"; version = "0.1.0"; edition = "2021"; + crateBin = [ + { + name = "legacy-importer"; + path = "src/bin/legacy-importer.rs"; + requiredFeatures = [ ]; + } + ]; # We can't filter paths with references in Nix 2.4 # See https://github.com/NixOS/nix/issues/5410 src = if ((lib.versionOlder builtins.nixVersion "2.4pre20211007") || (lib.versionOlder "2.5" builtins.nixVersion )) @@ -3412,6 +3419,10 @@ rec { packageId = "serde 1.0.193"; features = [ "derive" ]; } + { + name = "serde_json"; + packageId = "serde_json"; + } ]; devDependencies = [ { diff --git a/fitnesstrax/app/Cargo.toml b/fitnesstrax/app/Cargo.toml index 5ba4235..6458900 100644 --- a/fitnesstrax/app/Cargo.toml +++ b/fitnesstrax/app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fitnesstrax" -version = "0.5.0" +version = "0.6.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/fitnesstrax/app/src/main.rs b/fitnesstrax/app/src/main.rs index 98a8cc2..959fafb 100644 --- a/fitnesstrax/app/src/main.rs +++ b/fitnesstrax/app/src/main.rs @@ -36,7 +36,7 @@ const RESOURCE_BASE_PATH: &str = "/com/luminescent-dreams/fitnesstrax/"; fn setup_app_about_action(app: &adw::Application) { let action = ActionEntry::builder("about") - .activate(|app: &adw::Application, _, _| { + .activate(|_app: &adw::Application, _, _| { let window = about::AboutWindow::default(); window.present(); }).build(); -- 2.44.1