remove iced as dependency
This commit is contained in:
parent
9cd4e8571e
commit
937079e6dc
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ fn media_content(item: &Item) -> Content{
|
|||
}
|
||||
|
||||
|
||||
pub fn process_content(items: Vec<Item>) -> Vec<Content> {
|
||||
fn process_content(items: Vec<Item>) -> Vec<Content> {
|
||||
let mut result: Vec<Content> = 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());
|
||||
|
|
Loading…
Reference in a new issue