Cargo Features

[dependencies]
spring-sqlx = { version = "0.1.1", default-features = false, features = ["postgres", "mysql", "sqlite", "with-json", "with-chrono", "with-rust_decimal", "with-bigdecimal", "with-uuid", "with-time", "runtime-tokio", "runtime-tokio-native-tls", "runtime-tokio-rustls"] }
default = runtime-tokio-native-tls

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

Enables sqlx ^0.7

postgres

Enables postgres of sqlx ^0.7

mysql

Enables mysql of sqlx ^0.7

sqlite

Enables sqlite of sqlx ^0.7

with-json = serde_json

Enables serde of optional chrono, serde of optional time and optional uuid and json of optional sqlx ^0.7

sqlx:

types

with-chrono = chrono

Enables chrono of optional sqlx ^0.7

with-rust_decimal = rust_decimal

Enables rust_decimal of optional sqlx ^0.7

with-bigdecimal = bigdecimal

Enables bigdecimal of optional sqlx ^0.7

with-uuid = uuid

Enables uuid of optional sqlx ^0.7

with-time = time

Enables time of optional sqlx ^0.7

runtime-tokio runtime-tokio-native-tls runtime-tokio-rustls?

Enables runtime-tokio of optional sqlx ^0.7

runtime-tokio-native-tls default = runtime-tokio

Enables runtime-tokio-native-tls of optional sqlx ^0.7

runtime-tokio-rustls = runtime-tokio

Enables runtime-tokio-rustls of optional sqlx ^0.7

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.

sqlx default mysql? postgres? sqlite?

Enables sqlx ^0.7

serde_json with-json?
rust_decimal with-rust_decimal?
bigdecimal with-bigdecimal?

Enables bigdecimal ^0.3

chrono with-chrono?
time with-time?
uuid with-uuid?