Cargo Features
geekorm-core has no features set by default.
[dependencies]
geekorm-core = { version = "0.6.10", features = ["uuid", "chrono", "semver", "tfa", "two-factor-auth", "two-factor-auth-qr", "rand", "log", "hash", "hash-all", "hash-pbkdf2", "hash-argon2", "hash-sha512", "backends", "search", "libsql", "rusqlite"] }
- uuid
-
Enables uuid
Affects
foreign::ForeignKeyUuid
,primary::PrimaryKeyUuid
… - chrono
-
Enables chrono
- semver
-
Enables semver
- tfa = two-factor-auth, two-factor-auth-qr
-
TFA (Two Factor Authentication)
- two-factor-auth tfa? two-factor-auth-qr?
-
Enables totp-rs
Two Factor Authentication
Affects
utils::tfa
… - two-factor-auth-qr tfa? = two-factor-auth
- rand
-
Random string / number generation
Enables rand
Random number generation
Affects
crypto::rand
… - log
-
Logging
Enables log
- hash = hash-pbkdf2
-
Hashing algorithms
Affects
hashing::verify_hash
,crypto::hashing
… - hash-all = hash-argon2, hash-pbkdf2, hash-sha512
- hash-pbkdf2 hash? hash-all?
-
Enables password-hash, pbkdf2, and rand_core
password-hash:
For hashing data
- hash-argon2 hash-all?
-
Enables argon2, password-hash, and rand_core
- hash-sha512 hash-all?
- backends libsql? rusqlite? = search
-
Backends
- search backends?
-
Affects
backends::GeekConnector.search
… - libsql = backends
-
Enables libsql
Backends
Affects
backends::libsql
… - rusqlite = backends
-
Enables rusqlite and serde_rusqlite
Affects
backends::rusqlite
…