Cargo Features

butane_core has no features set by default.

[dependencies]
butane_core = { version = "0.8.0", features = ["async-adapter", "async", "datetime", "debug", "fake", "json", "log", "pg", "sqlite", "sqlite-bundled", "tls", "uuid"] }
async-adapter = async, crossbeam-channel
async async-adapter? pg? = tokio

Affects db::Backend.connect_async, db::connect_async, butane_core::DataObjectInternal.save_many_to_many_async, migrations::Migrations.migrate_async, migrations::Migrations.unmigrate_async, util::get_or_init_once_lock_async

datetime = chrono

Enables with-chrono-0_4 of optional tokio-postgres

debug = log

Enables debug of maybe-async-cfg

fake = rand

Enables fake

json

Enables serde_json of optional rusqlite ^0.34, with-serde_json-1 of optional tokio-postgres

log debug?

Enables log and trace of optional rusqlite ^0.34

rusqlite:

sqlite3_log: 3.6.23 (2010-03-09)

pg = async, bytes, tokio-postgres

Affects db::pg

sqlite = rusqlite

Affects db::sqlite

sqlite-bundled

Enables bundled of rusqlite ^0.34

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?
crossbeam-channel async-adapter?
native-tls tls?
tokio async?
tokio-postgres pg?
postgres-native-tls tls?
rand fake?
rusqlite sqlite? sqlite-bundled?

Enables rusqlite ^0.34

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

Affects butane_core::uuid