Search

Lib.rs

› Database interfaces
#config #redis #rdb #mysql #db #framework #turbo #tdf

tdf_config

TDF config for DB and Redis

by Daniel

  • Install
  • API reference
  • GitHub repo (qiuzhanghua)

1 unstable release

0.2.8 May 23, 2020

#11 in #rdb

MIT/Apache

12KB
174 lines

Config of TDF

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

Dependencies

~35–50MB
~841K 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
  • optional postgres 0.17
  • with-postgres? postgres-shared
  • with-postgres? postgres-types 0.1+with-chrono-0_4
  • optional sqlite
Related: tdf_utils
See also: dbhub, redis, scaleway_api_rs, spin-sdk, rustis, deadpool-redis, jupiter, fontdb, tlmcmddb-cli, goalaim, roadster

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.