mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-09 10:14:21 +01:00
Merge 'Rename liblimbo_sqlite3 to libturso_sqlite3' from Pekka Enberg
Closes #2403
This commit is contained in:
@@ -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
26
Cargo.lock
generated
@@ -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"
|
||||
|
||||
4
Makefile
4
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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user