Cargo Features

sqlx-build-trust-core has no features set by default.

[dependencies]
sqlx-build-trust-core = { version = "0.7.9", features = ["migrate", "any", "json", "offline", "native-tls", "rustls", "rustls-pemfile", "webpki-roots", "bit-vec", "bigdecimal", "rust_decimal", "time", "ipnetwork", "mac_address", "uuid", "chrono", "digest", "encoding_rs", "num-bigint", "regex", "sha1", "bstr"] }
migrate = crc, sha2

Affects backend::AnyConnectionBackend.as_migrate, sqlx-build-trust-core::migrate, sqlx-build-trust-core::testing

any

Affects sqlx-build-trust-core::any

json = serde, serde_json
_rt-async-std = async-io, async-std

for conditional compilation

Affects rt::rt_async_std

_rt-tokio = tokio, tokio-stream

Affects rt::rt_tokio

offline = serde

support offline/decoupled building (enables serialization of Describe)

Enables serde of either

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.

async-std _rt-async-std?

Enables async-std

Runtimes

tokio _rt-tokio?
native-tls implicit feature

Enables native-tls

TLS

rustls implicit feature

Enables rustls ^0.21.7

rustls:

Rustls is a modern TLS library written in Rust

rustls-pemfile implicit feature

Enables rustls-pemfile ^1.0

rustls-pemfile:

Basic .pem file parser for keys and certificates

webpki-roots implicit feature

Enables webpki-roots ^0.25

webpki-roots:

Mozilla's CA root certificates for use with webpki

bit-vec implicit feature

Enables bit-vec ^0.6.3

Type Integrations

bigdecimal implicit feature

Enables bigdecimal ^0.3.0

bigdecimal:

Arbitrary precision decimal numbers

rust_decimal implicit feature
time implicit feature

Affects types::time

ipnetwork implicit feature

Enables ipnetwork

ipnetwork:

A library to work with IP CIDRs in Rust

Affects types::ipnetwork

mac_address implicit feature

Enables mac_address

mac_address:

Cross-platform retrieval of a network interface MAC address

Affects types::mac_address

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

async-io _rt-async-std?

Enables async-io ^1.9.0

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

Affects types::chrono

crc migrate?
digest implicit feature

Enables digest

digest:

Traits for cryptographic hash functions and message authentication codes

encoding_rs implicit feature

Enables encoding_rs

encoding_rs:

A Gecko-oriented implementation of the Encoding Standard

num-bigint implicit feature

Enables num-bigint

num-bigint:

Big integer implementation for Rust

regex implicit feature
serde json? offline?
serde_json json?
sha1 implicit feature

Enables sha1

sha1:

SHA-1 hash function

sha2 migrate?
tokio-stream _rt-tokio?
bstr implicit feature

Enables bstr

bstr:

A string type that is not required to be valid UTF-8

Affects types::bstr