Cargo Features

[dependencies]
tdf_config = { version = "0.2.8", default-features = false, features = ["with-postgres", "with-mysql", "with-redis", "sqlite", "postgres"] }
default = with-redis

The with-redis feature is set by default whenever tdf_config is added without default-features = false somewhere in the dependency tree.

with-postgres = postgres-shared, postgres-types

Affects tdf_config::TdfDataSource, tdf_config::data_source, tdf_config::TdfPool, tdf_config::TdfCursor

with-mysql = mysql

Affects tdf_config::TdfDataSource, tdf_config::data_source, tdf_config::TdfPool, tdf_config::TdfCursor

with-redis default = r2d2, r2d2_redis, redis

Affects tdf_config::get_redis_connection, tdf_config::redis_data_source

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

r2d2 with-redis
redis with-redis

Enables redis ^0.15

r2d2_redis with-redis

Enables r2d2_redis ^0.13

sqlite implicit feature

Enables sqlite ^0.25

sqlite:

The package provides an interface to SQLite

mysql with-mysql?

Enables mysql ^18

postgres implicit feature

Enables postgres ^0.17

postgres:

A native, synchronous PostgreSQL client

postgres-shared with-postgres?
postgres-types with-postgres?

Enables postgres-types ^0.1