0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-12 07:53:01 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
a56ee2f615 ext/wasm: fix SQLTester path
It was moved incorrectly due to the migration of the C API
to libsql-sqlite3/ subdirectory.
2023-11-29 16:53:59 +01:00
d89f0b4d8c wasi: add virtual WAL stub
On top of a special VFS, `make wasi` now also compiles-in
a specialized virtual WAL methods module. It doesn't do anything
right now (just falls back to the regular implementation),
but can be used to call back to the host, inject hooks, etc.
2023-11-29 09:27:24 +01:00
822b2e1b81 Merge pull request from psarna/extwasmwal
ext/wasm: allow WAL mode
2023-11-28 08:37:48 +00:00
dfa4ce43c0 ext/wasm: allow WAL mode
All the groundwork was there for WASI anyway.
2023-11-28 09:26:28 +01:00
1445e42483 wasi: add poor man's microbenchmark 2023-11-28 09:00:49 +01:00
a5cd4f3d81 wasi: refactor to libsql-wasi crate
The crate still has a main.rs file for demo purposes,
but the logic is extracted to a library.
2023-11-27 09:49:33 +01:00
3b0d30f7af wasi,demo: add creating a table 2023-11-26 14:19:50 +01:00
52bf745b32 apply clippy 2023-11-26 14:17:16 +01:00
7cb1eee19c wasi: implement the rest of VFS 2023-11-26 14:17:16 +01:00
d2c3b1eadc wasi: add close() 2023-11-26 14:17:16 +01:00
0bbf971c61 wasi: add write support 2023-11-26 14:17:16 +01:00
9974e2c745 wasi: implement stub for reading files 2023-11-26 14:17:16 +01:00
6113da3db9 wasi: ensure exclusive locking mode and WAL journaling 2023-11-26 14:17:16 +01:00
15a6e43c3c wasi: add WASI demo stub
It's far from working, but it already properly calls back
from a WebAssembly instance to the host for VFS operations.
We also want the same for virtual WAL and we'll have a solid foundation
for running libSQL in a Wasm runtime.
2023-11-26 14:17:16 +01:00
dc75074a37 wasi: add WASI VFS stub 2023-11-26 14:17:16 +01:00
02a5af3040 move libsql specific vtab methods to fix 2023-11-17 11:10:33 -05:00
0dfca64aa3 Merge tag 'version-3.44.0' into HEAD 2023-11-15 14:46:34 +01:00
a9481c8326 remove unused deps 2023-10-30 17:26:20 +01:00
a55c84f33c ext/crr: update to 0.15.1 of cr-sqlite
Based on https://github.com/tursodatabase/libsql/pull/434
and rebased.
2023-10-18 13:46:23 +02:00
e7ca93a902 fix ci 2023-10-16 15:25:18 +02:00
bf899d0b9a restructure repository 2023-10-16 13:58:16 +02:00