Skip to content

Commit

Permalink
version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Apr 28, 2024
1 parent d072528 commit ff2f722
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "podcatch_rust"
version = "0.5.24"
version = "0.5.25"
authors = ["Daniel Boline <ddboline@gmail.com>"]
edition = "2018"

Expand All @@ -19,29 +19,29 @@ bytes = "1.0"
checksums = "0.9"
clap = {version="4.0", features=["derive"]}
crossbeam-utils = "0.8"
deadpool = "0.10"
deadpool-postgres = "0.12"
deadpool = "0.11"
deadpool-postgres = "0.13"
deadqueue = "0.2"
derive_more = "0.99"
dirs = "5.0"
dotenv = "0.15"
envy = "0.4"
env_logger = "0.10"
env_logger = "0.11"
futures = "0.3"
itertools = "0.12"
log = "0.4"
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.6", features=["deadpool"]}
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.7", features=["deadpool"]}
rand = "0.8"
refinery = {version="0.8", features=["tokio-postgres"]}
reqwest = {version="0.11", features=["cookies", "json", "rustls-tls", "stream"], default_features=false}
reqwest = {version="0.12", features=["cookies", "json", "rustls-tls", "stream"], default_features=false}
roxmltree = "0.19"
serde = {version="1.0", features=["derive"]}
serde_json = "1.0"
smallvec = "1.6"
stack-string = {git = "https://github.com/ddboline/stack-string-rs.git", features=["postgres_types"], tag="0.9.2"}
stack-string = {git = "https://github.com/ddboline/stack-string-rs.git", features=["postgres_types"], tag="0.9.3"}
stdout-channel = "0.6"
thiserror = "1.0"
tokio = {version = "1.34", features=["rt", "macros", "rt-multi-thread"]}
tokio = {version = "1.37", features=["rt", "macros", "rt-multi-thread"]}
tokio-postgres = "0.7"
walkdir = "2.3"

Expand Down
8 changes: 4 additions & 4 deletions src/episode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Episode {
FROM episodes
WHERE castid = $1 AND episodeid = $2
";
if let Some(row) = pool.get().await?.query(query, &[&cid, &eid]).await?.get(0) {
if let Some(row) = pool.get().await?.query(query, &[&cid, &eid]).await?.first() {
Ok(Some(Self::from_row(row)?))
} else {
Ok(None)
Expand All @@ -120,7 +120,7 @@ impl Episode {
.await?
.query(query, &[&cid, &epurl])
.await?
.get(0)
.first()
{
Ok(Some(Self::from_row(row)?))
} else {
Expand All @@ -142,7 +142,7 @@ impl Episode {
.await?
.query(query, &[&cid, &epguid])
.await?
.get(0)
.first()
{
Ok(Some(Self::from_row(row)?))
} else {
Expand Down Expand Up @@ -228,7 +228,7 @@ impl Episode {
.await?
.query(query, &[])
.await?
.get(0)
.first()
.ok_or_else(|| format_err!("No episodes"))
.and_then(|row| row.try_get(0).map_err(Into::into))
}
Expand Down

0 comments on commit ff2f722

Please sign in to comment.