... 用 web::block 的api,不是很方便,我找到了一个 deadpool-postgres 连接池库,采用 tokio-postgres 作为数据库连接。直接支持异步省去很多麻烦。
確定! 回上一頁