Cargo Features
[dependencies]
mysql-connector = { version = "0.0.3", default-features = false, features = ["tcpstream", "caching-sha2-password", "time", "serde"] }
- default = caching-sha2-password, tcpstream, time
-
These default features are set whenever
mysql-connector
is added without
somewhere in the dependency tree.default-features = false - tcpstream default
-
Affects
connection::TcpStreamOptions
… - caching-sha2-password default
-
Enables base64, getrandom, num, rand, and sha2
Affects
options::ConnectionOptionsTrait.server_key
,options::ConnectionOptions.server_key
,scramble::scramble_sha256
… - time default
- serde
-
Enables serde