Cargo Features

[dependencies]
mysql_async = { version = "0.34.2", default-features = false, features = ["default-rustls", "minimal", "minimal-rust", "native-tls-tls", "rustls-tls", "binlog", "derive", "chrono", "time", "bigdecimal", "rust_decimal", "frunk", "tracing", "nightly"] }
default = bigdecimal, binlog, derive, frunk, native-tls-tls, rust_decimal, time

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

Enables zlib of flate2

default-rustls = bigdecimal, binlog, 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

native-tls-tls default = native-tls, tokio-native-tls

native-tls based TLS support

rustls-tls default-rustls? = rustls, rustls-pemfile, tokio-rustls, webpki, webpki-roots

rustls based TLS support

binlog default default-rustls?

Enables binlog of mysql_common ^0.32

Affects conn::binlog_stream, mysql_async::binlog

derive default default-rustls?

mysql_common features

Enables derive of mysql_common ^0.32

chrono

Enables chrono of mysql_common ^0.32

time default default-rustls?

Enables time of mysql_common ^0.32

bigdecimal default default-rustls?

Enables bigdecimal of mysql_common ^0.32

rust_decimal default default-rustls?

Enables rust_decimal of mysql_common ^0.32

frunk default default-rustls?

Enables frunk of mysql_common ^0.32

tracing

other features

Enables tracing

nightly

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 native-tls-tls
rustls rustls-tls?
rustls-pemfile rustls-tls?
tokio-native-tls native-tls-tls
tokio-rustls rustls-tls?
webpki rustls-tls?
webpki-roots rustls-tls?