pub fn register_vec_extension()Expand description
Register sqlite-vec GLOBALLY before any connection is opened.
Idempotent: subsequent calls are no-ops thanks to OnceLock. Safe to invoke from
both the binary entry point (main.rs) and library helpers like ensure_db_ready
so unit tests that exercise CRUD handlers do not need to pre-register the extension.