mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
build(deps): bump diesel from 2.0.3 to 2.1.0 (#1287)
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
use std::{convert::AsRef, fmt, ops, str::FromStr};
|
||||
|
||||
use diesel::{
|
||||
backend,
|
||||
backend::Backend,
|
||||
deserialize,
|
||||
deserialize::FromSql,
|
||||
@ -153,7 +152,7 @@ where
|
||||
DB: Backend,
|
||||
String: FromSql<sql_types::Text, DB>,
|
||||
{
|
||||
fn from_sql(bytes: backend::RawValue<'_, DB>) -> deserialize::Result<Self> {
|
||||
fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
|
||||
let val = String::from_sql(bytes)?;
|
||||
Ok(Self::from_str(val.as_str())?)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user