Cargo Features

SchemaGuard has no features set by default.

[dependencies]
schema_guard = { version = "1.6.1", features = ["slog", "bb8", "bb8-postgres", "native-tls", "postgres-native-tls", "tokio", "tokio-postgres"] }
slog

Affects schema_guard::set_logger

Features from optional dependencies

bb8 implicit feature

Enables bb8 ^0.8.3

bb8:

Full-featured async (tokio-based) connection pool (like r2d2)

bb8-postgres implicit feature

Enables bb8-postgres ^0.8.0

bb8-postgres:

Full-featured async (tokio-based) postgres connection pool (like r2d2)

native-tls implicit feature

Enables native-tls

native-tls:

A wrapper over a platform's native TLS implementation

postgres-native-tls implicit feature

Enables postgres-native-tls

postgres-native-tls:

TLS support for tokio-postgres via native-tls

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

tokio-postgres implicit feature

Enables tokio-postgres

tokio-postgres:

A native, asynchronous PostgreSQL client