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
somewhere in the dependency tree.default-features = false - default-rust = buffer-pool, derive, minimal-rust
- minimal default
-
minimal feature set with system flate2 impl
- 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
- rustls-tls-ring = rustls
-
rustls TLS backend with ring provider
- rustls rustls-tls? rustls-tls-ring? = rustls-pemfile, webpki, webpki-roots
-
rustls TLS backend (no provider)
- 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.