Cargo Features

[dependencies]
liberty-db = { version = "0.10.2", default-features = false, features = ["fast_hash", "hashmatch", "py", "lut_template"] }
default = fast_hash, lut_template

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

fast_hash default

Enables ahash

hashmatch

use str's hash to do match, rather than directly match str

Enables hashmatch of liberty-macros

py

Enables pyo3 and pyo3-stub-gen

lut_template default

Affects table::TableCtx.lut_template, table::TableCtx.set_lut_template, table::CompactTableCtx.compact_lut_template, table::CompactTableCtx.set_compact_lut_template, table::DefaultTableCtx.lut_template, table::DefaultCompactTableCtx.compact_lut_template