Cargo Features

butane_core has no features set by default.

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

Enables with-chrono-0_4 of optional postgres

debug = log
fake = rand

Enables fake ^2.6

json

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

log debug?

Enables log and trace of optional rusqlite ^0.31

rusqlite:

sqlite3_log: 3.6.23 (2010-03-09)

pg = bytes, postgres

Affects db::pg

sqlite = rusqlite

Affects db::sqlite

sqlite-bundled

Enables bundled of rusqlite ^0.31

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?
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.31

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

Affects butane_core::uuid