gwenn
dd05c992c2
Merge pull request #1267 from gwenn/clippy
...
[breaking change] Update edition from 2018 to 2021
2023-06-17 07:44:02 +02:00
gwenn
687aeef3b0
Introduce to_sqlite_error
...
643c0f699f
One small step to support creating loadable extension
2023-06-08 20:01:17 +02:00
gwenn
3aa9addaa3
[breaking change] Update edition from 2018 to 2021
...
And fix clippy warnings
2022-12-09 20:19:04 +01:00
gwenn
6d509afe49
Clippy
2022-10-28 19:02:49 +02:00
Thom Chiovoloni
a100adc1f2
Fix potential unsoundness in SqliteMallocString
2022-09-16 13:38:54 -07:00
gwenn
6766d6a6cd
Remove old_sqlite
feature
...
And associated bindgen_3.6.8.rs
2022-08-30 13:05:47 -07:00
gwenn
6e740d0611
Change default minimal SQLite API version
...
From 3.6.8 to 3.14.0.
Use `old_sqlite` feature to keep 3.6.8 (or 3.7.16) as the minimal version.
Use `modern_sqlite` for SQLite API > 3.14.0.
Also remove old 3.6.23 and 3.7.7 bindings.
2022-08-30 13:05:47 -07:00
gwenn
d5110ced91
Fix clippy warnings
2022-07-31 07:00:37 +02:00
gwenn
618e9a1274
Clean code
...
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
65668a46e4
Add constants introduced by SQLite 3.38.0
...
SQLITE_STMTSTATUS_FILTER_MISS
SQLITE_STMTSTATUS_FILTER_HIT
SQLITE_INDEX_CONSTRAINT_LIMIT
SQLITE_INDEX_CONSTRAINT_OFFSET
2022-02-26 09:55:17 +01:00
gwenn
cc4f059d9b
Merge remote-tracking branch 'origin/master' into ptr_as_ptr
2022-01-06 18:20:01 +01:00
gwenn
e1fd731cb0
clippy::unseparated_literal_suffix
2022-01-06 05:07:27 -08:00
gwenn
01c4be82c8
clippy::doc_markdown
2022-01-06 04:54:10 -08:00
gwenn
43591154b2
clippy:ptr_as_ptr
2022-01-05 19:50:25 +01:00
Thom Chiovoloni
287b0ea08b
Undo transition to edition 2021, prep release 0.26.3
2021-12-08 17:06:01 -08:00
gwenn
2f508e7a38
Fix error: the item TryFrom
is imported redundantly
2021-10-21 19:20:44 +02:00
Thom Chiovoloni
65c38bf813
Add #[inline]
and #[cold]
in far more places
2020-11-04 07:59:23 -08:00
gwenn
76ad2bf19c
Rustfmt
2020-10-28 21:12:29 +01:00
Thom Chiovoloni
12cb228c9c
Fix SqliteMallocString::from_str on arm32
2020-04-23 13:58:50 -07:00
Thom Chiovoloni
d88fe1c1b1
Remove parameter count caching -- should be cheap (if statically linked at least...)
2020-04-16 12:05:56 -07:00
Thom Chiovoloni
a776f460e8
Cache param count and make statement cache more effective
2020-04-16 12:05:56 -07:00
Thom Chiovoloni
1207a7cc06
Make clippy behave slightly more reasonably
2020-04-16 08:21:43 -07:00
Thom Chiovoloni
418ef10af2
Add a wrapper for strings allocated on sqlite heap
2020-04-16 08:21:43 -07:00
Thom Chiovoloni
abbab7216a
Better docs and cleaner SmallCString
2020-04-14 10:26:41 -07:00
Thom Chiovoloni
552416039e
Optimize named params via caching and use of smallvec
2020-04-14 10:26:41 -07:00