mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
build(deps): bump diesel from 2.0.3 to 2.1.0 (#1287)
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
pub use diesel::Expression;
|
||||
use diesel::{
|
||||
backend::{Backend, RawValue},
|
||||
backend::Backend,
|
||||
deserialize::{self, FromSql, Queryable},
|
||||
expression::AsExpression,
|
||||
internal::derives::as_expression::Bound,
|
||||
@ -53,7 +53,7 @@ where
|
||||
S: FromSql<T, DB>,
|
||||
I: Strategy<S>,
|
||||
{
|
||||
fn from_sql(bytes: RawValue<'_, DB>) -> diesel::deserialize::Result<Self> {
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> {
|
||||
S::from_sql(bytes).map(|raw| raw.into())
|
||||
}
|
||||
}
|
||||
@ -123,7 +123,7 @@ where
|
||||
S: FromSql<T, DB> + ZeroizableSecret,
|
||||
I: Strategy<S>,
|
||||
{
|
||||
fn from_sql(bytes: RawValue<'_, DB>) -> diesel::deserialize::Result<Self> {
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> {
|
||||
S::from_sql(bytes).map(|raw| raw.into())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user