From a96bbaa91cb54f8825cb6d1f1cab98a9b62a5620 Mon Sep 17 00:00:00 2001 From: "Geo. Naumov" Date: Sun, 20 Oct 2024 22:54:56 +0300 Subject: [PATCH] Update version to 0.1.1 Bump package version from 0.1.0 to 0.1.1 in Cargo files and main.rs. Correct the mismatched version number in the CLI setup and clean up an obsolete comment. --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96c22d1..0975cdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "RSS2SQLite" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 1449038..1300ab2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "RSS2SQLite" -version = "0.1.0" +version = "0.1.1" edition = "2021" [profile.dev] diff --git a/src/main.rs b/src/main.rs index c81971e..7f4d6d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,7 @@ fn main() -> Result<(), Box> { // Setup command arguments let matches = Command::new("RSS to SQLite") - .version("0.2.0") + .version("0.1.1") .author("Geo Naumov ") .about("A collector for RSS feeds written in Rust. Uses the SQLite database.") .subcommand(Command::new("update").about("Update the feeds")) @@ -68,7 +68,6 @@ fn main() -> Result<(), Box> { insert_feed_items(&conn, &parsed_feed.unwrap()).context("Failed to insert record")?; }, Err(..) => { - // return Err(anyhow::anyhow!("Failed to open database: {}", e)); error!("Database error!"); } }