Cargo Features

butane_core has no features set by default.

[dependencies]
butane_core = { version = "0.6.1", features = ["datetime", "debug", "fake", "json", "pg", "sqlite", "sqlite-bundled", "tls", "r2d2", "uuid"] }
datetime = chrono

Enables with-chrono-0_4 of optional postgres

debug = log
fake = rand

Enables fake

json

Enables with-serde_json-1 of optional postgres, serde_json of optional rusqlite ^0.29

pg = bytes, postgres

Affects db::pg

sqlite = rusqlite

Affects db::sqlite

sqlite-bundled

Enables bundled of rusqlite ^0.29

tls = native-tls, postgres-native-tls

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.

bytes pg?
chrono datetime?
log debug?
native-tls tls?
postgres pg?
postgres-native-tls tls?
r2d2 implicit feature

Enables r2d2

r2d2:

A generic connection pool

Affects db::r2

rand fake?
rusqlite sqlite? sqlite-bundled?

Enables rusqlite ^0.29

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

Affects butane_core::uuid