diff --git a/Cargo.toml b/Cargo.toml index da4fb6b..a74c502 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,6 @@ edition = "2024" ego-tree = "0.10.0" iced = { git = "https://github.com/iced-rs/iced", version = "0.14.0-dev", features=["markdown"]} reqwest = {features=["blocking"], version="0.12.22"} -#iced = { git = "https://github.com/iced-rs/iced", version = "0.14.0-dev" , features=["markdown"]} rss = "2.0.12" scraper = "0.23.1" diff --git a/src/lib.rs b/src/lib.rs index 3af857e..4bdc826 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,7 +85,7 @@ fn media_content(item: &Item) -> Content{ } -pub fn process_content(items: Vec) -> Vec { +fn process_content(items: Vec) -> Vec { let mut result: Vec = Vec::new(); //println!("Converting {} items into Content",items.len()); for i in &items { @@ -257,7 +257,7 @@ mod tests { } #[test] - pub fn content_test(){ + fn content_test(){ let example_text = Item::Text("Example.com".to_owned()); let example_link = Item::Link("https://example.com".to_owned(),[example_text].to_vec()); let result = process_content([example_link].to_vec());