Skip to content

Commit

Permalink
update deps to latest major versions (#362)
Browse files Browse the repository at this point in the history
* update deps to latest major versions

* update deps

* update msrv

* fix clippy warnings
  • Loading branch information
ayrat555 authored May 6, 2024
1 parent 4b1e023 commit 085f3f5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 41 deletions.
66 changes: 32 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "el_monitorro"
version = "0.14.0"
authors = ["Ayrat Badykov <[email protected]>"]
edition = "2021"
rust-version = "1.62"
rust-version = "1.70"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -16,22 +16,22 @@ diesel = { version = "2", features = ["postgres","r2d2"] }
dotenvy = "0.15"
pretty_env_logger = "0.5"
fang = { version = "0.11.0-rc1", features = ["blocking-postgres"], default-features = false}
feed-rs = "1.3"
feed-rs = "1.4"
frankenstein = { version = "0.30.8", default-features = false, features = ["telegram-trait"] }
handlebars = "4.5"
handlebars = "5.1"
hex = "0.4"
htmlescape = "0.3"
isahc = "1.7"
log = "0.4"
nanohtml2text = "0.1.4"
rayon = "1.8"
rayon = "1.10"
rss = "2.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
typed-builder = "0.18"
url = "2.5"
uuid = { version = "1.4", features = ["v4"] }
uuid = { version = "1.8", features = ["v4"] }

[dev-dependencies]
mockito = "1"
2 changes: 1 addition & 1 deletion src/sync/reader/atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl ReadFeed for AtomReader {
let mut feed = FetchedFeed::from(atom_feed);

if feed.link.is_empty() {
feed.link = self.url.clone();
feed.link.clone_from(&self.url);
}

Ok(feed)
Expand Down
2 changes: 1 addition & 1 deletion src/sync/reader/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl ReadFeed for JsonReader {
match parser::parse(data) {
Ok(feed) => {
let mut fetched_feed = FetchedFeed::from(feed);
fetched_feed.link = self.url.clone();
fetched_feed.link.clone_from(&self.url);

Ok(fetched_feed)
}
Expand Down

0 comments on commit 085f3f5

Please sign in to comment.