Cargo Features
sqlx-mysql has no features set by default.
[dependencies]
sqlx-mysql = { version = "0.8.2", features = ["json", "any", "offline", "migrate", "bigdecimal", "chrono", "rust_decimal", "time", "uuid"] }
- json = serde
- any
-
Affects
sqlx-mysql::any
… - offline
-
Enables offline of sqlx-core and derive of serde
serde:
Provide derive(Serialize, Deserialize) macros.
- migrate
- bigdecimal
-
Type Integration features
Enables bigdecimal of sqlx-core and bigdecimal
Type Integrations (versions inherited from
[workspace.dependencies]
) - chrono
- rust_decimal
-
Enables maths of rust_decimal, rust_decimal of sqlx-core
- time
- uuid
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.