Cargo Features

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

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

default-rust = buffer-pool, derive, minimal-rust
minimal default

minimal feature set with system flate2 impl

Enables zlib of flate2

minimal-rust default-rust?

minimal feature set with rust flate2 impl

Enables rust_backend of flate2

native-tls

native TLS backend

Enables native-tls

rustls-tls = rustls

rustls TLS backend with aws_lc_rs provider

Enables aws_lc_rs of rustls

rustls-tls-ring = rustls

rustls TLS backend with ring provider

Enables ring of rustls

rustls rustls-tls? rustls-tls-ring? = rustls-pemfile, webpki, webpki-roots

rustls TLS backend (no provider)

Enables logging, std and tls12 of rustls

buffer-pool default default-rust?

global buffer pool

nightly
derive default default-rust?

mysql_common features

Enables derive of mysql_common

chrono

Enables chrono of mysql_common

time

Enables time of mysql_common

bigdecimal

Enables bigdecimal of mysql_common

rust_decimal

Enables rust_decimal of mysql_common

frunk

Enables frunk of mysql_common

binlog

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.

rustls-pemfile rustls?
webpki rustls?
webpki-roots rustls?