Cargo Features

sqlx-mysql has no features set by default.

[dependencies]
sqlx-mysql = { version = "0.7.4", features = ["json", "any", "offline", "migrate", "bigdecimal", "chrono", "rust_decimal", "time", "uuid"] }
json = serde

Enables json of sqlx-core

any

Enables any of sqlx-core

Affects sqlx-mysql::any

offline

Enables offline of sqlx-core and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

migrate

Enables migrate of sqlx-core

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.

bigdecimal implicit feature

Enables bigdecimal ^0.3.0

Type Integrations (versions inherited from [workspace.dependencies])

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

rust_decimal implicit feature
time implicit feature
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

serde json? offline?