Cargo Features

sqlx-postgres has no features set by default.

[dependencies]
sqlx-postgres = { version = "0.8.2", features = ["any", "json", "migrate", "offline", "bigdecimal", "bit-vec", "chrono", "ipnetwork", "mac_address", "rust_decimal", "time", "uuid"] }
any

Enables any of sqlx-core

Affects sqlx-postgres::any

json

Enables sqlx-core

migrate

Enables migrate of sqlx-core

offline

Enables offline of sqlx-core

sqlx-core:

support offline/decoupled building (enables serialization of Describe)

bigdecimal

Type Integration features

Enables bigdecimal of sqlx-core and bigdecimal and num-bigint

bigdecimal:

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

bit-vec

Enables bit-vec ^0.6.3, bit-vec of sqlx-core

chrono

Enables chrono, chrono of sqlx-core

ipnetwork

Enables ipnetwork, ipnetwork of sqlx-core

mac_address

Enables mac_address, mac_address of sqlx-core

rust_decimal

Enables maths of rust_decimal, rust_decimal of sqlx-core

time

Enables time, time of sqlx-core

uuid

Enables uuid, uuid of sqlx-core