Cargo Features

[dependencies]
mysql = { version = "25.0.1", default-features = false, features = ["default-rustls", "minimal", "minimal-rust", "rustls-tls", "buffer-pool", "nightly", "derive", "chrono", "time", "bigdecimal", "rust_decimal", "frunk", "binlog", "native-tls"] }
default = bigdecimal, binlog, buffer-pool, derive, frunk, native-tls, rust_decimal, time

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

Enables zlib of flate2

default-rustls = bigdecimal, binlog, buffer-pool, derive, frunk, rust_decimal, rustls-tls, time

Enables rust_backend of flate2

minimal

minimal feature set with system flate2 impl

Enables zlib of flate2

minimal-rust

minimal feature set with rust flate2 impl

Enables rust_backend of flate2

rustls-tls default-rustls? = rustls, rustls-pemfile, webpki, webpki-roots
buffer-pool default default-rustls?
nightly
derive default default-rustls?

mysql_common features

Enables derive of mysql_common

chrono

Enables chrono of mysql_common

time default default-rustls?

Enables time of mysql_common

bigdecimal default default-rustls?

Enables bigdecimal of mysql_common

rust_decimal default default-rustls?

Enables rust_decimal of mysql_common

frunk default default-rustls?

Enables frunk of mysql_common

binlog default default-rustls?

Enables binlog of mysql_common

Affects conn::binlog_stream, mysql::binlog

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.

native-tls default
rustls rustls-tls?
rustls-pemfile rustls-tls?
webpki rustls-tls?
webpki-roots rustls-tls?