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
somewhere in the dependency tree.default-features = false - 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
- deflate = 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.