Lib
.rs
›
Database interfaces
#
config
#
redis
#
rdb
#
mysql
#
turbo
#
postgresql
#
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
#
8
in
#rdb
MIT/Apache
12KB
174
lines
Config of TDF
rdb(MySQL and PostgreSQL)
redis
lazy_static
Dependencies
~
46MB
~854K
SLoC
async-native-tls
0.3
+
runtime-tokio
cfg-if
0.1
chrono
+
serde
dotenv
futures
json
0.12
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