Cargo Features
[dependencies]
liberty-db = { version = "0.9.5", default-features = false, features = ["fast_hash", "hashmatch", "py"] }
- default = fast_hash
-
The
fast_hash
feature is set by default wheneverliberty-db
is added without
somewhere in the dependency tree.default-features = false - 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