Cargo Features

Akita has no features set by default.

[dependencies]
akita = { version = "0.4.3", features = ["akita-tracing", "akita-logging", "akita-mysql", "akita-sqlite", "akita-auth", "akita-fuse"] }

FEATURES

akita-tracing = tracing
akita-logging = log
akita-mysql = mysql

Provide mysql pool with r2d2.

akita-sqlite = rusqlite

Provide sqlite pool with r2d2.

akita-auth

Database with authentication

Affects database::Database.get_users, database::Database.exist_user, database::Database.get_user_detail, database::Database.get_roles, database::Database.create_user, database::Database.drop_user, database::Database.update_user_password, database::Database.lock_user, database::Database.unlock_user, database::Database.expire_user_password, database::Database.grant_privileges, database::Database.revoke_privileges, database::Database.flush_privileges

akita-fuse

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.

mysql akita-mysql?

Enables mysql ^20.1.0

rusqlite akita-sqlite?

Enables rusqlite ^0.21.0

log akita-logging?
tracing akita-tracing?