Cargo Features
[dependencies]
taos-query = { version = "0.12.4", default-features = false, features = ["async", "deadpool", "r2d2"] }
- default = async, deadpool
-
These default features are set whenever
taos-query
is added without
somewhere in the dependency tree.default-features = false - async default = async-trait, futures
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.
- async-trait async
- futures async
- deadpool default
-
Enables deadpool ^0.10.0
Affects
taos-query::AsyncTBuilder.pool
,taos-query::AsyncTBuilder.pool_builder
,taos-query::AsyncTBuilder.default_pool_config
,taos-query::AsyncTBuilder.with_pool_config
,taos-query::Pool
… - r2d2 implicit feature
-
Enables r2d2
r2d2:
A generic connection pool
Affects
taos-query::TBuilder.pool
,taos-query::TBuilder.pool_builder
,taos-query::TBuilder.with_pool_builder
,taos-query::Pool
,taos-query::PoolBuilder
…