Cargo Features

[dependencies]
siamesedb = { version = "0.1.21", default-features = false, features = ["vf_u32u32", "vf_u64u64", "vf_vu64", "vf_node_u32", "vf_node_u64", "buf_default", "buf_auto_buf_size", "buf_overf_rem_all", "buf_overf_rem_half", "buf_pin_zero", "buf_hash_turbo", "buf_lru", "buf_print_hits", "buf_stats", "node_cache", "htx", "myhasher", "print_hits", "oi_hash_turbo", "oi_myhash", "nc_lru", "nc_print_hits", "htx_print_hits", "idx_find_uu", "tr_has_short_key", "test_large_data", "small_node_slots", "buf_debug", "siamese_debug"] }
default = buf_default, htx, idx_find_uu, idx_straight, node_cache, vf_node_u64, vf_u64u64

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

vf_u32u32

for developping

Affects idx::NODE_SLOTS_MAX

vf_u64u64 default

Affects idx::NODE_SLOTS_MAX, idx::NODE_SLOTS_MAX

vf_vu64

Affects idx::NODE_SLOTS_MAX, idx::NODE_SLOTS_MAX

vf_node_u32
vf_node_u64 default
buf_default default = buf_auto_buf_size, buf_hash_turbo, buf_overf_rem_all, buf_pin_zero
buf_auto_buf_size buf_default

Enables buf_auto_buf_size of rabuf

buf_overf_rem_all buf_default

Enables buf_overf_rem_all of rabuf

buf_overf_rem_half

Enables buf_overf_rem_half of rabuf

buf_pin_zero buf_default

Enables buf_pin_zero of rabuf

buf_hash_turbo buf_default

Enables buf_hash_turbo of rabuf

buf_lru

Enables buf_lru of rabuf

buf_print_hits print_hits?

Enables buf_print_hits of rabuf

buf_stats

Enables buf_stats of rabuf

Affects filedb::CheckFileDbMap.buf_stats

node_cache default = oi_hash_turbo

Affects idx::VarFileNodeCache

htx default = myhasher

Affects filedb::CheckFileDbMap.ht_size_and_count, filedb::CheckFileDbMap.htx_filling_rate_per_mill

myhasher htx
print_hits = buf_print_hits, htx_print_hits, nc_print_hits

under development

oi_hash_turbo node_cache = oi_myhash

Affects idx::NODE_SLOTS_MAX

oi_myhash oi_hash_turbo?
nc_large nc_lfu nc_lru
nc_print_hits print_hits?
htx_print_hits print_hits?

Affects htx::VarFileHtxCache

idx_straight idx_find_uu default
tr_has_short_key

Affects siamesedb::DbMapKeyType.as_short_bytes, idx::NODE_SLOTS_MAX

test_large_data

for test

small_node_slots

Affects idx::NODE_SLOTS_MAX

buf_debug

Enables buf_debug of rabuf

siamese_debug