Search · Rust 包仓库

Lib.rs

› 数据库接口
#redis #config #rdb #mysql #db #postgresql #tdf

tdf_config

TDF配置数据库和Redis

由 Daniel

  • 安装
  • API参考
  • GitHub仓库 (qiuzhanghua)

1 个不稳定版本

0.2.8 2020年5月23日

#5 在 #rdb

MIT/Apache

12KB
174 行

TDF配置

  1. rdb(MySQL和PostgreSQL)
  2. redis
  3. lazy_static

lib.rs:

TDF Config Turbo Development Framework

依赖

~32–47MB
~798K SLoC

  • async-native-tls 0.3+runtime-tokio
  • cfg-if 0.1
  • chrono+serde
  • dotenv
  • futures
  • json
  • lazy_static
  • with-redis r2d2
  • with-redis r2d2_redis 0.13
  • with-redis redis 0.15
  • serde+derive
  • serde_json
  • sha2 0.8
  • sqlx 0.3+runtime-tokio+macros+postgres+mysql+sqlite+uuid+chrono+bigdecimal+json+ipnetwork…
  • sqlx-core 0.3+runtime-tokio
  • tokio 0.2+full
  • uuid 0.8+serde+v4+v5
  • with-mysql? mysql 18.0
  • 可选 postgres 0.17
  • with-postgres? postgres-shared
  • with-postgres? postgres-types 0.1+with-chrono-0_4
  • 可选 sqlite
相关: tdf_utils
另请参阅: sqlx,sea-orm,sea-query,sea-schema,rbatis,sea-query-binder,sqlx-oldapi,sqlx-adapter,sea-orm-migration,seaography,redis

Lib.rs 是由 kornelski 创建的非官方 Rust/Cargo 库列表。它包含来自多个来源的数据,包括启发式方法和手动整理的数据。本页内容不一定得到库作者的认可。本网站与 Rust 项目无关,也不受其支持。如果发现遗漏或不准确之处,请 提交错误报告。