1298 Commits

Author SHA1 Message Date
naglis
f63f43e60f Remove leftover sentence beginning 2024-09-26 13:29:07 +03:00
gwenn
1cb5d711a4 Keep using #[allow(missing_docs)] 2024-09-07 07:59:46 +02:00
gwenn
a00acd23a6 Use #[expect(lint)] where possible 2024-09-05 20:51:58 +02:00
gwenn
69974d6452 Document an alternive way to backup 2024-09-01 13:15:51 +02:00
H2CO3
af1befed41 Applied cargo fmt 2024-08-27 19:59:43 +02:00
H2CO3
12fbdfa5b1 Cater to rustfmt 2024-08-26 19:43:04 +02:00
H2CO3
daf7883920 impl FromSql for various heap-allocated string and blob slices 2024-08-26 18:28:47 +02:00
OldEnglishSheepdog
db0afab183 Repairing description comment of params! macro 2024-08-17 22:01:11 +02:00
OldEnglishSheepdog
0cb7608419 Correcting inconsistent parameter name (:value/:val) in doctest 2024-08-15 17:47:17 +02:00
gwenn
68e18d78dd clippy::needless_raw_string_hashes 2024-08-10 15:32:08 +02:00
gwenn
67d2027162 clippy::doc_markdown 2024-08-10 15:27:19 +02:00
gwenn
9189b54fc7 clippy::manual_string_new 2024-08-10 15:09:26 +02:00
gwenn
c5e67dfe91 clippy::map_unwrap_or 2024-08-10 15:04:42 +02:00
gwenn
000278b9a2 clippy::uninlined_format_args 2024-08-10 14:53:25 +02:00
gwenn
f2ee7018ef clippy::manual_let_else 2024-08-10 14:46:49 +02:00
gwenn
0c3933b68c clippy::use_self 2024-08-10 14:39:36 +02:00
gwenn
cad456575e Fix test coverage 2024-07-27 10:39:52 +02:00
gwenn
e1cc3019af Fix clippy warning 2024-07-27 10:31:50 +02:00
gwenn
dbe53e5d87 Oops 2024-07-27 10:24:52 +02:00
gwenn
377cf5730b Add support to jiff Date / DateTime / Time 2024-07-27 10:22:46 +02:00
gwenn
d3e3c56474 Remove lazy_static dependency
Replaced by LazyLock
2024-07-27 07:38:47 +02:00
gwenn
3810178be0 Fix test 2024-07-23 19:28:21 +02:00
gwenn
a53bcd4769 Prevent interrupt from non-owned connection
Fix #1546
2024-07-23 19:19:44 +02:00
gwenn
dcc226c509 Fix clippy warnings 2024-07-21 16:09:21 +02:00
gwenn
ba019d747e
Merge pull request #1532 from seddonm1/feat/set-transaction-behavior
Allow setting default connection transaction behavior
2024-07-19 07:15:32 +02:00
Mike Seddon
484e01bada cargofmt 2024-07-19 08:02:55 +10:00
Mike Seddon
0d948205ad refactor to add examples and address comments 2024-07-18 07:24:34 +10:00
Yuri Astrakhan
c32d7a79a2 Applied some spellchecker suggestions 2024-07-17 13:41:16 -04:00
Mike Seddon
1891c39a5f Allow setting default connection transaction behavior 2024-07-17 17:05:47 +10:00
dashangcun
fb2b7c769f chore: fix some comments
Signed-off-by: dashangcun <jchaodaohang@foxmail.com>
2024-06-24 20:14:31 +08:00
gwenn
dbad1dd333 Fix parsing of virtual table parameters 2024-05-18 13:18:11 +02:00
gwenn
6218aa40ad
Merge pull request #1501 from gwenn/clippy
Fix clippy warning
2024-05-11 09:55:09 +02:00
gwenn
f78b64697a Fix clippy warning 2024-05-11 09:48:53 +02:00
gwenn
718599d5f7 Improve Connection::extension_init2 2024-04-12 20:50:34 +02:00
gwenn
79fae3d93c
Improve test coverage (#1490)
Improve test coverage
2024-04-01 10:11:07 +02:00
Austin Schey
269dd72a76 check errors from sqlite3_preupdate_old and sqlite3_preupdate_new 2024-03-31 08:47:03 -05:00
Austin Schey
ba392cf104 fix syntax 2024-03-31 08:06:33 -05:00
Austin Schey
41cf19030a minor changes to match other hooks 2024-03-31 08:04:09 -05:00
Austin Schey
0d56555875 Merge remote-tracking branch 'upstream/master' into preupdate_hook 2024-03-31 07:57:20 -05:00
gwenn
a0b410eb86
Use catch_unwind in init_auto_extension (#1489)
Use catch_unwind in init_auto_extension
2024-03-31 13:22:00 +02:00
gwenn
d8bcd4d28a
Check callbacks lifetime (#1052)
Check callbacks lifetime
2024-03-31 11:41:05 +02:00
gwenn
19b20e0fc3 Remove Ref/UnwindSafe constraint on FFI callback
As suggested here:
https://github.com/rusqlite/rusqlite/pull/1052#issuecomment-988455248
2024-03-31 11:11:19 +02:00
Austin Schey
475c2fc691 fix indentation 2024-03-30 12:53:52 -05:00
Austin Schey
dd92f1d6df add static lifetime bound and compile test 2024-03-30 12:45:52 -05:00
gwenn
57a3a8f62e
Add bindings to automatic extension loading API (#1487)
* Add bindings to automatic extension loading API

it doesn't seem possible to directly register an `AutoExtension`.
2024-03-30 17:01:44 +01:00
Austin Schey
fb50d45bdf remove extra lifetime 2024-03-30 10:49:12 -05:00
Austin Schey
b910eafee5 move preupdate hook to separate file 2024-03-30 06:15:58 -05:00
Austin Schey
45e9db3435 Merge remote-tracking branch 'midaslamb/preupdate_hook' into preupdate_hook 2024-03-30 06:07:36 -05:00
gwenn
381be988cc
Merge pull request #1230 from xpepermint/master
Respect missing values in session's conflict resolver
2024-03-29 09:24:46 +01:00
gwenn
25787021b7 Simplify code 2024-03-28 21:03:42 +01:00