Commit Graph

1949 Commits

Author SHA1 Message Date
Thom Chiovoloni
c45446ba73 Seal the RowIndex trait (technically breaking, but unlikely to break anybody) 2020-11-03 19:09:19 -08:00
gwenn
b9ccb252ef
Merge pull request #824 from gwenn/progress_handler
Expose query progress information
2020-11-03 18:14:36 +01:00
Thom Chiovoloni
1aeea123dd Silence clippy's complaint about unelided lifetime in session.rs 2020-11-02 19:34:09 -08:00
gwenn
1103febb1e Test Batch iterator 2020-10-31 11:11:12 +01:00
gwenn
f3c2b63836 Get rid of fallible iterator trait 2020-10-31 10:47:44 +01:00
gwenn
73323b6b92 Remove Iterator implementation for Batch
If Batch implements both `Iterator` and `FaillibleIterator`, `next`
method is ambiguous and must be qualified...
2020-10-29 20:06:47 +01:00
gwenn
b73ca079a8 Implement Iterator for Batch 2020-10-29 20:01:46 +01:00
gwenn
5f5943435e Remove lazy_static block where possible 2020-10-29 19:51:51 +01:00
gwenn
c7bf569359 Merge remote-tracking branch 'upstream/master' into progress_handler
# Conflicts:
#	src/functions.rs
2020-10-29 19:46:49 +01:00
Nick Hynes
749266cae9 Reduce required lifetime in create_scalar_function 2020-10-28 23:33:00 -07:00
gwenn
d1ec46182f Fix Clippy warning 2020-10-28 21:26:36 +01:00
gwenn
b448d95510 Merge remote-tracking branch 'upstream/master' into progress_handler 2020-10-28 21:21:19 +01:00
gwenn
76ad2bf19c Rustfmt 2020-10-28 21:12:29 +01:00
gwenn
5ce81024c8 Introduce Batch fallible iterator 2020-10-28 21:10:13 +01:00
gwenn
e1072b7f75 Reduce required lifetime
Revert lifetime change on table_filter
2020-10-28 20:16:53 +01:00
gwenn
926977846f Reduce required lifetime
Extends #825 to
 - create_collation
 - commit_hook
 - rollback_hook
 - update_hook
 - table_filter
2020-10-28 19:20:05 +01:00
Tim Hutt
b0ade73f43 Add ToSql implementations for u64 and usize 2020-10-26 23:28:25 -07:00
gwenn
9c954b8cb5 Rustfmt 2020-10-25 12:28:03 +01:00
gwenn
49325296a9 Expose query progress information
Add unit tests
2020-10-25 12:20:15 +01:00
gwenn
f5c83af863 Expose query progress information 2020-10-25 11:58:47 +01:00
Tim Hutt
8841187717 Silence clippy 2020-10-24 09:52:05 -07:00
Tim Hutt
f264873999 Cargo format 2020-10-24 09:52:05 -07:00
Tim Hutt
ebcec59969 Implement From/ToSql for more types
This implements `FromSql` for `u64`, `usize` and `f32`, and `ToSql` for `f32`.

I also updated the documentation to describe how it currently works, and changed the implementation to use `try_from` for integral casts rather rather than custom code.

Test added.
2020-10-24 09:52:05 -07:00
gwenn
2461540306
Merge pull request #816 from gwenn/ptr_offset_from
Feature ptr_offset_from #41079 available in 1.47
2020-10-09 21:26:52 +02:00
gwenn
93c82670d2 Fix clippy warning 2020-10-08 21:33:05 +02:00
gwenn
6ae9802fa3 Feature ptr_offset_from #41079 available in 1.47 2020-10-08 21:12:46 +02:00
Thom Chiovoloni
5cf0158863 Take 2: Prep release of rusqlite 0.24.1 + libsqlite3-sys 0.20.1 2020-10-07 15:53:54 -07:00
Thom Chiovoloni
f9e15615a7 Prepare release 0.24.1 2020-10-07 15:47:02 -07:00
gwenn
fac5a47c4c Upgrade to hashlink 0.6 2020-10-07 15:40:38 -07:00
Thom Chiovoloni
084d1f535d Replace lru-cache with hashlink 2020-10-06 00:10:22 -07:00
Thom Chiovoloni
587fdeb185 Add write_all_at for compatibility with FileExt, improve docs a little 2020-10-04 15:48:10 -07:00
Thom Chiovoloni
d61fe36237 Improve pos io test coverage 2020-10-04 15:48:10 -07:00
Thom Chiovoloni
67ee5a0586 Add test coverage for positional blob io 2020-10-04 15:48:10 -07:00
Thom Chiovoloni
7cd909fc14 Add positional blob i/o and adjust blob i/o example docs 2020-10-04 15:48:10 -07:00
Thom Chiovoloni
ee4a770efb Test winsqlite3 and sqlcipher in CI 2020-10-04 13:40:42 -07:00
Thom Chiovoloni
058023ebfe Clean up github actions CI, test time feature 2020-10-04 13:40:42 -07:00
Thom Chiovoloni
9ac2a97568 Update dependency versions 2020-10-04 12:08:49 -07:00
Nazar Mishturak
bc9b40a444 Add support for linking to winsqlite3
Signed-off-by: Nazar Mishturak <nazarmx@gmail.com>
2020-10-04 11:40:53 -07:00
gwenn
4a54e118f0
Merge pull request #807 from gwenn/clippy
Clippy
2020-10-04 07:58:13 +02:00
gwenn
a01d1c5f7d
Merge pull request #806 from gwenn/rarray_doc
Generate doc with 'array' feature enabled
2020-10-04 07:43:09 +02:00
gwenn
799b5d3f7b Rustfmt 2020-10-04 07:39:35 +02:00
gwenn
d2dcc2d987 Fix clippy warning 2020-10-04 07:38:52 +02:00
gwenn
d456cd42f2 Generate doc with 'array' feature enabled
Should fix #781
2020-10-04 07:26:18 +02:00
gwenn
997e6d3cc3
Merge pull request #799 from michaelsproul/must_use
Add `must_use` attribute to iterators
2020-09-02 18:04:57 +02:00
Michael Sproul
d7e0536b41
Add must_use attribute to iterators 2020-09-02 16:15:25 +10:00
gwenn
45903324e5
Merge pull request #798 from gwenn/bindgen
Upgrade to bindgen 0.55
2020-08-28 18:16:57 +02:00
gwenn
78275ab614 Upgrade to bindgen 0.55 2020-08-27 21:18:34 +02:00
gwenn
79ab6894f0
Merge pull request #797 from gwenn/0.24
Prepare release of version 0.24.0
2020-08-22 07:30:36 +02:00
gwenn
405d0de8f6 Prepare release of version 0.24.0 2020-08-22 07:23:03 +02:00
gwenn
301a8d0e75
Merge pull request #795 from gwenn/clippy
Fix clippy warnings
2020-08-17 20:18:29 +02:00