Cargo Features

[dependencies]
sqlite-compressions = { version = "0.2.16", default-features = false, features = ["default_loadable_extension", "trace", "loadable_extension", "brotli", "bsdiff4", "bsdiffraw", "bzip2", "gzip"] }
default = brotli, bsdiff4, bsdiffraw, bzip2, gzip, trace

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

default_loadable_extension = brotli, bsdiff4, bsdiffraw, bzip2, gzip, loadable_extension

Use this feature to build loadable extension.
Assumes --no-default-features.

trace default

Enable Trace Logging

Enables log

loadable_extension default_loadable_extension?

Build loadable extension. Not compatible with the window feature. See https://github.com/rusqlite/rusqlite/discussions/1423

Enables loadable_extension and trace 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)

brotli default default_loadable_extension?

Encoding algorithms

Enables brotli

bsdiff4 default default_loadable_extension?

Enables qbsdiff

bsdiffraw default default_loadable_extension?

Enables bsdiff

bzip2 default default_loadable_extension?

Enables bzip2

gzip default default_loadable_extension?

Enables flate2