Commit graph

16 commits

Author SHA1 Message Date
Dave Warnock
357a24580b Improved transaction example
It is more realistic to begin and commit the transaction outside the
update function.
2025-12-01 01:07:29 +00:00
Dave Warnock
9f7fc532b9 Pass a transation to the insert_users function
Needed to add prepare to impl Transaction
2025-12-01 00:47:27 +00:00
Dave Warnock
bd07a32083 Clearer for idiomatic
NB This highlights an issue around Connection/Transaction/Prepare
2025-11-30 23:24:20 +00:00
Dave Warnock
1b66d718ec Moving closer to rusqlite using a struct
Read the query results using a struct as the rusqlite example does
2025-11-23 21:53:40 +00:00
Dave Warnock
a7d56be2da Tidied import
I noticed that I should have tidied the imports
2025-11-23 16:32:38 +00:00
Dave Warnock
1e5723e05a Removed unwrap from the rust binding example
Refactor to remove unwrap, also added:

- an assertion to catch database failure
- an integer column to make the example a little more informative on how
to use binding
2025-11-23 15:45:15 +00:00
Nils Koch
828d4f5016 fix clippy errors for rust 1.88.0 (auto fix) 2025-07-12 18:58:41 +03:00
Pekka Enberg
ca990e8fd1 Revert "Merge 'Rust binding improvements' from Pedro Muniz"
This reverts commit bd60cd214c, reversing
changes made to 74e48a3a8f because it
makes limbo_stress hang.
2025-07-03 12:28:10 +03:00
pedrocarlo
318c2389fd extra example using Streams mapping 2025-06-30 15:05:54 -03:00
pedrocarlo
e08748e07e make futures-util default feature + use futures in example.rs 2025-06-30 13:16:42 -03:00
pedrocarlo
279a7fca3b add futures-util feature flag + impl Stream for Rows 2025-06-30 12:38:41 -03:00
Pekka Enberg
592ad81c86 Rename limbo crate to turso 2025-06-29 13:07:57 +03:00
Diego Reis
4766c9c286 bind/rust: Fix lifetime issue with pragma_query
Shallow cloning in Row ended up invalidating the pointer
to value
2025-05-19 21:29:07 -03:00
Diego Reis
ed0e3b1ba2 bind/rust: Implement pragma_query 2025-05-19 14:04:59 -03:00
Diego Reis
72a1cd5e3c wip: pragma_query method 2025-05-18 17:39:22 -03:00
Pekka Enberg
2e5fc62c45 bindings/rust: Add example.rs 2025-02-12 16:55:05 +02:00