From 4aea9372bdbfed22978a5f91491cc678ae07a34b Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sat, 2 Aug 2025 11:24:21 +0300 Subject: [PATCH] Rename liblimbo_sqlite3 to libturso_sqlite3 --- CONTRIBUTING.md | 2 +- Cargo.lock | 26 +++++++++++++------------- Makefile | 4 ++-- sqlite3/Cargo.toml | 2 +- sqlite3/tests/compat/mod.rs | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cec7fa140..5c4b4d007 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,7 +53,7 @@ export PYO3_PYTHON=$(which python3) ``` 4. Build Cargo ```console -cargo build -p limbo_sqlite3 --features capi +cargo build -p turso_sqlite3 --features capi ``` 5. Run tests ```console diff --git a/Cargo.lock b/Cargo.lock index 9ce4e9170..16e49d5be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2205,19 +2205,6 @@ dependencies = [ "turso_sqlite3_parser", ] -[[package]] -name = "limbo_sqlite3" -version = "0.1.4-pre.1" -dependencies = [ - "env_logger 0.11.7", - "libc", - "tempfile", - "tracing", - "tracing-appender", - "tracing-subscriber", - "turso_core", -] - [[package]] name = "limbo_sqlite_test_ext" version = "0.1.4-pre.1" @@ -4350,6 +4337,19 @@ dependencies = [ "turso_core", ] +[[package]] +name = "turso_sqlite3" +version = "0.1.4-pre.1" +dependencies = [ + "env_logger 0.11.7", + "libc", + "tempfile", + "tracing", + "tracing-appender", + "tracing-subscriber", + "turso_core", +] + [[package]] name = "turso_sqlite3_parser" version = "0.1.4-pre.1" diff --git a/Makefile b/Makefile index ea3d3ece4..fa8ffb274 100644 --- a/Makefile +++ b/Makefile @@ -83,9 +83,9 @@ reset-db: .PHONY: reset-db test-sqlite3: reset-db - cargo test -p limbo_sqlite3 --test compat + cargo test -p turso_sqlite3 --test compat ./scripts/clone_test_db.sh - cargo test -p limbo_sqlite3 --test compat --features sqlite3 + cargo test -p turso_sqlite3 --test compat --features sqlite3 .PHONY: test-sqlite3 test-json: diff --git a/sqlite3/Cargo.toml b/sqlite3/Cargo.toml index 2c94c14a0..58d25ec56 100644 --- a/sqlite3/Cargo.toml +++ b/sqlite3/Cargo.toml @@ -1,7 +1,7 @@ # Copyright 2024 the Limbo authors. All rights reserved. MIT license. [package] -name = "limbo_sqlite3" +name = "turso_sqlite3" version.workspace = true authors.workspace = true edition.workspace = true diff --git a/sqlite3/tests/compat/mod.rs b/sqlite3/tests/compat/mod.rs index 700fa6910..43843a236 100644 --- a/sqlite3/tests/compat/mod.rs +++ b/sqlite3/tests/compat/mod.rs @@ -13,7 +13,7 @@ struct sqlite3_stmt { _private: [u8; 0], } -#[cfg_attr(not(feature = "sqlite3"), link(name = "limbo_sqlite3"))] +#[cfg_attr(not(feature = "sqlite3"), link(name = "turso_sqlite3"))] #[cfg_attr(feature = "sqlite3", link(name = "sqlite3"))] extern "C" { fn sqlite3_libversion() -> *const libc::c_char;