Cargo Features
[dependencies]
sqlite-hashes = { version = "0.7.6", default-features = false, features = ["default_loadable_extension", "trace", "hex", "aggregate", "window", "loadable_extension", "md5", "sha1", "sha512", "fnv", "xxhash"] }
- default = aggregate, fnv, hex, md5, sha1, sha224, sha256, sha384, sha512, trace, window, xxhash
-
These default features are set whenever
sqlite-hashes
is added without
somewhere in the dependency tree.default-features = false - default_loadable_extension = aggregate, fnv, hex, loadable_extension, md5, sha1, sha224, sha256, sha384, sha512, xxhash
-
Use this feature to build loadable extension.
Assumes --no-default-features.
Does not support windowing functionality yet. - trace default
-
Enable Trace Logging
- hex default default_loadable_extension?
-
Enable HEX-outputing variants like *_hex() and *_concat_hex() (with "aggregate" feature)
Enables hex
- aggregate default default_loadable_extension? window
-
Enable aggregate functions
- window default = aggregate
-
Enable window functions in addition to aggregate functions. Uses bundled SQLite. Not supported with loadable extension.
Enables bundled and window of rusqlite
There are multiple versions that could work, but sqlx requires a specific one, so don't limit it here Note that cdylib requires >= 0.32 (controlled by the lock file)
Affects
aggregate::create_agg_function
… - loadable_extension default_loadable_extension?
-
"rusqlite/bundled", "rusqlite/modern_sqlite"
Build loadable extension. Not compatible with the window feature. See https://github.com/rusqlite/rusqlite/discussions/1423 This feature does not work with "rusqlite/modern_sqlite", "window"
Enables loadable_extension and trace of rusqlite
- md5 default default_loadable_extension?
-
Hashing algorithms
Enables md-5
- sha1 default default_loadable_extension?
-
Enables sha1
- sha224 sha256 sha384 sha512 default default_loadable_extension?
-
Enables sha2
- fnv default default_loadable_extension?
-
Enables fnv of noncrypto-digests
- xxhash default default_loadable_extension?
-
Enables xxh3, xxh32 and xxh64 of noncrypto-digests