mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
core: Bundle vector extension by default
This commit is contained in:
parent
9462426685
commit
ee05ad172b
4 changed files with 9 additions and 3 deletions
|
@ -80,6 +80,10 @@ impl Database {
|
|||
if unsafe { !limbo_uuid::register_extension_static(&ext_api).is_ok() } {
|
||||
return Err("Failed to register uuid extension".to_string());
|
||||
}
|
||||
#[cfg(feature = "vector")]
|
||||
if unsafe { !limbo_vector::register_extension_static(&ext_api).is_ok() } {
|
||||
return Err("Failed to register vector extension".to_string());
|
||||
}
|
||||
#[cfg(feature = "percentile")]
|
||||
if unsafe { !limbo_percentile::register_extension_static(&ext_api).is_ok() } {
|
||||
return Err("Failed to register percentile extension".to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue