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
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
gwenn
2a7b11320f
Fix clippy warnings
2020-08-17 20:07:56 +02:00
gwenn
da2d2e371a
Merge pull request #794 from gwenn/fix_pragma_update
...
pragma_update fails with ExecuteReturnedResults
2020-08-17 19:57:12 +02:00
gwenn
a4691db6d0
pragma_update fails with ExecuteReturnedResults
...
Ideally, while executing a batch, we should fail if it contains a SELECT
statement. But currently there is no way to make the distinction between
a SELECT and a PRAGMA which both updates and returns a row.
So we fail only when `extra_check` feature is activated.
2020-08-17 19:30:24 +02:00
gwenn
0063db53ca
Merge pull request #793 from ankitects/sqlite3.33.0
...
update to sqlite 3.33.0
2020-08-17 18:30:59 +02:00
Damien Elmes
6e33947c2a
update to sqlite 3.33.0
2020-08-17 11:01:19 +10:00
gwenn
157256a26c
Merge pull request #790 from gwenn/3.23.3
...
Upgrade SQLite bundled sources to 3.23.3
2020-08-09 08:51:23 +02:00
gwenn
18f49164ea
Upgrade SQLite bundled sources to 3.23.3
2020-08-09 08:35:23 +02:00
gwenn
e909b80bed
Merge pull request #788 from wngr/patch-1
...
Update README.md
2020-07-29 18:08:44 +02:00
Oliver Wangler
203bbb6fe2
Update README.md
2020-07-29 11:00:03 +02:00
Nikhil Benesch
b83d22e2b7
Upgrade to time v0.2 and put it behind a feature flag
...
This also removes the usage of time in the crate's top-level
documentation example, as was done for the README in #625 .
Fix #653 .
2020-07-24 11:28:19 -07:00
Tjeu Kayim
464b8283b2
Add feature flag to include wasm32-wasi-vfs.c
2020-07-24 10:34:00 -07:00
Tjeu Kayim
1483f1cdf5
Support wasm32-wasi target
2020-07-24 10:34:00 -07:00
Sergey Duck
c00471197a
Add cross-compilation with mingw
2020-07-04 03:30:32 -07:00
Tim
83c038107d
Fix order of parameters in InvalidParameterCount message
...
This prints a message like `Error: Wrong number of parameters passed to query. Got 7, needed 8`, but the numbers were the wrong way around - i.e. it should have printed `Got 8, needed 7` in this case.
2020-07-01 08:38:50 -07:00
Thom Chiovoloni
f79a9ca3ef
Publically expose Map
2020-06-29 09:36:13 -07:00
gwenn
024e2e6bf0
Merge pull request #773 from gwenn/execute_batch
...
Implement our own sqlite3_exec
2020-06-28 06:18:56 +02:00