diff --git a/Cargo.lock b/Cargo.lock index 92bf9f377..4f2f3d57a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1489,12 +1489,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ipnetwork" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf370abdafd54d13e54a620e8c3e1145f28e46cc9d704bc6d94414559df41763" - [[package]] name = "is-terminal" version = "0.4.16" @@ -1780,15 +1774,6 @@ dependencies = [ "turso_ext", ] -[[package]] -name = "limbo_ipaddr" -version = "0.1.0-pre.2" -dependencies = [ - "ipnetwork", - "mimalloc", - "turso_ext", -] - [[package]] name = "limbo_percentile" version = "0.1.0-pre.2" @@ -3699,12 +3684,6 @@ dependencies = [ "libc", "libloading", "libm", - "limbo_crypto", - "limbo_csv", - "limbo_ipaddr", - "limbo_percentile", - "limbo_regexp", - "limbo_series", "lru", "miette", "mimalloc", diff --git a/core/Cargo.toml b/core/Cargo.toml index d4072f92b..84658a177 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -15,20 +15,13 @@ path = "lib.rs" [features] antithesis = ["dep:antithesis_sdk"] -default = ["fs", "uuid", "time", "json", "static", "series"] +default = ["fs", "uuid", "time", "json"] fs = ["turso_ext/vfs"] json = [] uuid = ["dep:uuid"] io_uring = ["dep:io-uring", "rustix/io_uring", "dep:libc"] -percentile = ["limbo_percentile/static"] -regexp = ["limbo_regexp/static"] -crypto = ["limbo_crypto/static"] -series = ["limbo_series/static"] -ipaddr = ["limbo_ipaddr/static"] -static = ["turso_ext/static"] time = [] fuzz = [] -csv = ["limbo_csv/static"] omit_autovacuum = [] simulator = ["fuzz", "serde"] serde = ["dep:serde"] @@ -63,12 +56,6 @@ julian_day_converter = "0.4.5" rand = "0.8.5" libm = "0.2" turso_macros = { workspace = true } -limbo_regexp = { workspace = true, optional = true, features = ["static"] } -limbo_percentile = { workspace = true, optional = true, features = ["static"] } -limbo_crypto = { workspace = true, optional = true, features = ["static"] } -limbo_series = { workspace = true, optional = true, features = ["static"] } -limbo_ipaddr = { workspace = true, optional = true, features = ["static"] } -limbo_csv = { workspace = true, optional = true, features = ["static"] } miette = "7.6.0" strum = { workspace = true } parking_lot = "0.12.3" diff --git a/core/ext/mod.rs b/core/ext/mod.rs index 4033a7755..1517385e4 100644 --- a/core/ext/mod.rs +++ b/core/ext/mod.rs @@ -174,32 +174,6 @@ impl Connection { let mut ext_api = self.build_turso_ext(); #[cfg(feature = "uuid")] crate::uuid::register_extension(&mut ext_api); - #[cfg(feature = "percentile")] - if unsafe { !limbo_percentile::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register percentile extension".to_string()); - } - #[cfg(feature = "regexp")] - if unsafe { !limbo_regexp::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register regexp extension".to_string()); - } - #[cfg(feature = "time")] - crate::time::register_extension(&mut ext_api); - #[cfg(feature = "crypto")] - if unsafe { !limbo_crypto::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register crypto extension".to_string()); - } - #[cfg(feature = "series")] - if unsafe { !limbo_series::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register series extension".to_string()); - } - #[cfg(feature = "ipaddr")] - if unsafe { !limbo_ipaddr::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register ipaddr extension".to_string()); - } - #[cfg(feature = "csv")] - if unsafe { !limbo_csv::register_extension_static(&mut ext_api).is_ok() } { - return Err("Failed to register csv extension".to_string()); - } #[cfg(feature = "fs")] { let vfslist = add_builtin_vfs_extensions(Some(ext_api)).map_err(|e| e.to_string())?; diff --git a/scripts/publish-crates.sh b/scripts/publish-crates.sh index 8945d55e9..1568c6dbb 100755 --- a/scripts/publish-crates.sh +++ b/scripts/publish-crates.sh @@ -2,12 +2,6 @@ cargo publish -p turso_macros cargo publish -p turso_ext -cargo publish -p limbo_crypto -cargo publish -p limbo_csv -cargo publish -p limbo_percentile -cargo publish -p limbo_regexp -cargo publish -p limbo_series -cargo publish -p limbo_ipaddr cargo publish -p turso_sqlite3_parser cargo publish -p turso_core cargo publish -p limbo