deadpool-postgres

deadpool-postgres 0.10开始,需要手动开启serde feature。否则以下代码将报错:error[E0277]: the trait bound "deadpool_postgres::Config: config::_::_serde::Deserialize<'_>" is not satisfied

 #[derive(Deserialize)]
  pub struct Config {
      pub pg: deadpool_postgres::Config,
}
deadpool-postgres = "0.9"

0.10 版本

要查看完整内容,请完成人机验证
升级为订阅用户,可关闭人机验证。