Merge 'Rename liblimbo_sqlite3 to libturso_sqlite3' from Pekka Enberg

Closes #2403
This commit is contained in:
Pekka Enberg
2025-08-02 12:34:19 +03:00
committed by GitHub
5 changed files with 18 additions and 18 deletions

View File

@@ -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

26
Cargo.lock generated
View File

@@ -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"

View File

@@ -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:

View File

@@ -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

View File

@@ -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;