pedrocarlo
b1ee556892
fix doc test
2025-06-30 15:34:10 -03:00
pedrocarlo
78107935b5
clippy
2025-06-30 15:29:09 -03:00
pedrocarlo
cd280007ff
more docs
2025-06-30 15:08:48 -03:00
pedrocarlo
318c2389fd
extra example using Streams mapping
2025-06-30 15:05:54 -03:00
pedrocarlo
becc0e3a93
reset statements when we are done with the query or we encounter an error
2025-06-30 15:05:27 -03:00
Pekka Enberg
f7f62babe5
Turso 0.1.0
2025-06-30 20:15:28 +03:00
pedrocarlo
a4c6138e33
docs fix
2025-06-30 13:38:40 -03:00
pedrocarlo
e08748e07e
make futures-util default feature + use futures in example.rs
2025-06-30 13:16:42 -03:00
pedrocarlo
a1fe46779d
move rows to separate file
2025-06-30 12:38:41 -03:00
pedrocarlo
3a17e58707
separate statement to separate file
2025-06-30 12:38:41 -03:00
pedrocarlo
279a7fca3b
add futures-util feature flag + impl Stream for Rows
2025-06-30 12:38:41 -03:00
Pekka Enberg
6672334eaa
Turso 0.1.0-pre.5
2025-06-30 17:44:21 +03:00
Pekka Enberg
a84a755cf7
bindings/rust: Add feature flag to enable indexes
2025-06-30 12:36:20 +03:00
Pekka Enberg
4bdd42ef84
Turso 0.1.0-pre.4
2025-06-30 11:38:56 +03:00
Pekka Enberg
cc14f83feb
bindings/javascript: Regenerate yarn.lock
2025-06-30 11:25:24 +03:00
Pekka Enberg
9c1b7897ac
Fix URLs to point to github.com/tursodatabase/turso
2025-06-30 11:23:53 +03:00
Pekka Enberg
e514a02478
Turso 0.1.0-pre.3
2025-06-30 10:59:55 +03:00
Pekka Enberg
592ad81c86
Rename limbo crate to turso
2025-06-29 13:07:57 +03:00
Pekka Enberg
645c0bd796
core: Add Antithesis-aware turso_assert
...
This adds a `turso_assert` macro that is Antithesis aware when
`antithesis` feature flag is enabled. I did not yet convert any
call-sites to use it.
Co-authored-by: Nikita Sivukhin <sivukhin@turso.tech >
2025-06-29 11:46:18 +03:00
Pekka Enberg
53ba3ff926
Rename limbo_core crate to turso_core
2025-06-29 09:59:17 +03:00
Andika Tanuwijaya
8a17158034
[rust_binding] named params
2025-06-29 02:28:06 +07:00
Pekka Enberg
d938ac47c3
Turso 0.1.0-pre.2
2025-06-27 16:02:09 +03:00
Pekka Enberg
09795ca512
Turso 0.1.0-pre.1
2025-06-27 12:56:22 +03:00
Pekka Enberg
568da9bff7
bindings/javascript: Rename package to @tursodatabase/turso
2025-06-27 12:14:16 +03:00
Pekka Enberg
a5b539f1bf
bindings/python: Rename package to pyturso
2025-06-27 11:27:08 +03:00
pedrocarlo
1dc28e32f0
fix io_uring completion + clippy
2025-06-26 22:17:28 -03:00
pedrocarlo
bac5e4b563
refactor File and Database Storage to remove Arc<Connection> and return Arc<Connection> for caller to wait for completion
2025-06-26 22:17:28 -03:00
pedrocarlo
64d9193e7b
refactor Completion to have a type field and lift common is_complete property
2025-06-26 22:17:27 -03:00
Pekka Enberg
dc2e7ce942
bindings/javascript: Fix StepResult:IO handling
2025-06-26 20:42:35 +03:00
Forato
d87ab33dcd
Merge branch 'main' into feat/db-open-js-impl
2025-06-26 11:34:33 -03:00
Forato
4863564213
feat: only call close if it is open
2025-06-26 10:24:18 -03:00
Pekka Enberg
2fc5c0ce5c
Switch to runtime flag for enabling indexes
...
Makes it easier to test the feature:
```
$ cargo run -- --experimental-indexes
Limbo v0.0.22
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database
limbo> CREATE TABLE t(x);
limbo> CREATE INDEX t_idx ON t(x);
limbo> DROP INDEX t_idx;
```
2025-06-26 10:07:28 +03:00
Pekka Enberg
344eecb7ac
bindings/rust: Fix RustDoc
2025-06-26 09:58:05 +03:00
Pekka Enberg
39aa7ad1b0
cargo fmt
2025-06-26 09:48:40 +03:00
Pekka Enberg
532b9cbcdb
bindings/rust: API documentation
2025-06-26 09:45:58 +03:00
Forato
317d8f763c
feat: add napi to open
2025-06-25 18:53:05 -03:00
Forato
897898fdbd
fix: remove unused Mutex
2025-06-25 18:52:12 -03:00
Forato
7919ff032a
feat: implement open in lib.rs
2025-06-25 18:45:23 -03:00
Pekka Enberg
2123858770
bindings/python: Add Connection.rollback()
2025-06-25 20:02:09 +03:00
Pekka Enberg
0297773a02
bindings/javascript: Pass readonly flag to open
2025-06-25 18:59:44 +03:00
Pekka Enberg
4e852036c5
bindings/javascript: Drop README.md
...
The example is wrong (imports wrong package), but also duplicates text from
top-level README.md that will change. Let's drop this for now to avoid
confusion.
2025-06-25 18:38:35 +03:00
Forato
772ba761e6
bindings/javascript: implement readonly functionality
2025-06-25 18:36:52 +03:00
Diego Reis
43aa2577cd
Implement size for JS and WASM storages
2025-06-24 14:41:50 -03:00
Diego Reis
f0f9ad4844
core: Get rid of maybe_init_database_file
...
Initialization now only occurs in the first write transaction
2025-06-24 14:41:50 -03:00
Diego Reis
9c7330c01c
core: Add size method to DatabaseStorage trait
2025-06-24 14:41:49 -03:00
Pekka Enberg
2313c33015
Merge 'bindings/rust: Implement Debug for Connection' from Charlie
...
A simple change to implement the `Debug` trait for the `Connection`,
similar to how it is implemented for `Database`. This should help users
in their application code with wrapping the connection.
Closes #1798
2025-06-24 16:11:54 +03:00
Nils Koch
2827b86917
chore: fix clippy warnings
2025-06-23 19:52:13 +01:00
CM-IV
3bb0374401
impl Debug for Connection
2025-06-22 11:41:07 -05:00
pedrocarlo
8b8f43334e
remove python makefile as it is obsolete with UV
2025-06-20 15:59:03 -03:00
pedrocarlo
80ccca8827
ruff lint fix
2025-06-20 15:59:03 -03:00