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

tcpstream default

Enables net of tokio

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

Enables time of tokio

serde

Enables serde