From 56a62e96fda10daeecfac8fa6f739ae7f186cfe4 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 22 Jul 2025 13:25:30 -0400 Subject: [PATCH] minor changes --- Cargo.toml | 2 +- src/db.rs | 1 + src/main.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b59f167..8ca265e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -iced = {git = "https://github.com/iced-rs/iced", branch = "master", features = ["image","markdown","svg",]} +iced = { git = "https://github.com/iced-rs/iced", branch = "master", features = ["image", "markdown", "svg"] } reqwest = { version = "0.12", features= ["blocking"]} rss = "2.0" web-sys = "0.3.70" diff --git a/src/db.rs b/src/db.rs index ca5efc2..ef21a56 100644 --- a/src/db.rs +++ b/src/db.rs @@ -122,6 +122,7 @@ pub fn store_items(feed: rss::Channel,feed_id: usize) { } +#[derive(Debug,Clone)] pub struct FeedItem { pub item_id: usize, pub title: String, diff --git a/src/main.rs b/src/main.rs index caeb57a..7b03e47 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#[allow(unused)] pub mod net; pub mod ui; pub mod html; @@ -5,7 +6,6 @@ pub mod db; pub mod files; pub mod widgets; -#[allow(dead_code)] pub fn main() -> iced::Result { db::initialize(); ui::user_interface()