Cargo Features

[dependencies]
geekorm = { version = "0.6.10", default-features = false, features = ["all", "uuid", "chrono", "semver", "tfa", "two-factor-auth", "two-factor-auth-qr", "rand", "log", "hash", "hash-all", "hash-pbkdf2", "hash-argon2", "hash-sha512", "new", "helpers", "primary_key", "backends", "search", "libsql", "rusqlite"] }
default = all, backends

These default features are set whenever geekorm is added without default-features = false somewhere in the dependency tree.

all default = chrono, hash, helpers, new, rand, uuid

All features (minus backends)

uuid all

Enables uuid of geekorm-core

chrono all

Enables chrono of geekorm-core and geekorm-derive

semver

Enables semver of geekorm-core and geekorm-derive

tfa = two-factor-auth, two-factor-auth-qr

Two Factor Authentication

two-factor-auth tfa? two-factor-auth-qr?

Enables two-factor-auth of geekorm-core

two-factor-auth-qr tfa? = two-factor-auth

Enables two-factor-auth-qr of geekorm-core

rand all

Random Generators

Enables rand of geekorm-core and geekorm-derive

log

Logging

Enables log of geekorm-core

hash all hash-argon2? hash-pbkdf2? hash-sha512? = hash-pbkdf2

Hashing Algorithms for Passwords

Enables hash of geekorm-core and geekorm-derive

hash-all = hash-argon2, hash-pbkdf2, hash-sha512
hash-pbkdf2 hash? hash-all? = hash

Enables hash-pbkdf2 of geekorm-core and geekorm-derive

hash-argon2 hash-all? = hash

Enables hash-argon2 of geekorm-core and geekorm-derive

hash-sha512 hash-all? = hash

Enables hash-sha512 of geekorm-core and geekorm-derive

new all

Generate new functions for Tables

Enables new of geekorm-derive

helpers all

Generate helper functions for Tables

Enables helpers of geekorm-derive

primary_key

Generate primary key functions for Tables automatically

Enables primary_key of geekorm-derive

backends default libsql? rusqlite? = search

Backends for the ORM

Enables backends of geekorm-core and geekorm-derive

Enables search of geekorm-core and geekorm-derive

libsql = backends

Enables libsql of geekorm-core and geekorm-derive

rusqlite = backends

Enables rusqlite of geekorm-core and geekorm-derive