Cargo Features

[dependencies]
taos = { version = "0.12.3", default-features = false, features = ["deadpool", "optin", "r2d2", "ws", "ws-native-tls", "ws-rustls", "deflate"] }
default = deadpool, optin, ws-rustls

These default features are set whenever taos is added without default-features = false somewhere in the dependency tree.

deadpool default

Enables deadpool of taos-query

optin default = taos-optin

Affects taos::sync

r2d2

Enables r2d2 of taos-query

ws deflate? ws-native-tls? ws-rustls = taos-ws

Affects taos::sync

ws-native-tls = ws

Enables native-tls-vendored of taos-ws

ws-rustls default = ws

Enables rustls of taos-ws

deflate = ws

Enables deflate of taos-ws

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.

taos-optin optin
taos-ws deflate? ws? ws-native-tls? ws-rustls