Commit Graph

2110 Commits

Author SHA1 Message Date
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
gwenn
3cea0c7af5 Benchmark execute vs execute_batch 2020-06-27 09:54:33 +02:00
gwenn
0b948d83da
Merge pull request #772 from gwenn/clippy
Clippy
2020-06-27 07:18:39 +02:00
gwenn
dd886578d2 Implement our own sqlite3_exec
Should fix issue related to unlock notify: #767
Caveat: many CString allocated.
2020-06-26 19:35:14 +02:00
gwenn
4114c94585 Clippy 2020-06-26 19:22:20 +02:00
gwenn
57db338537 Rustfmt 2020-06-25 09:45:49 -07:00
gwenn
f37519ad51 Replace execute_batch usages by execute
Because execute_batch does not support unlock_notify
2020-06-25 09:45:49 -07:00
Dubiousjim
a9b700c841 sys/build.rs: LIBSQLITE3_FLAGS hook
Enables compiling bundled sources with different flags.
Env variable name modeled after LIBSQLITE3_SYS_BUNDLING.
May want to println!("cargo:warning=...") instead of panicking.
2020-06-25 09:45:34 -07:00
Dubiousjim
32df49ca34 sys/build.rs: fix comment about {}_STATIC 2020-06-25 09:45:34 -07:00
Dubiousjim
4504eb0ae0 sys/build.rs: SQLITE_HAVE_ISNAN -> HAVE_ISNAN
SQLite treats these flags equivalently. Omitting the SQLITE_ prefix to
be more like HAVE_USLEEP, HAVE_LOCALTIME_R.
2020-06-25 09:45:34 -07:00
Dubiousjim
db64b8dfb0 sys/Cargo.toml: preupdate_hook, session require buildtime_bindgen
We add an explicit "buildtime_bindgen" to the "session" feature, rather
than just relying on the transitive "session" -> "preupdate_hook" ->
"buildtime_bindgen", to proof against possible future changes.
2020-06-25 09:45:34 -07:00
Thom Chiovoloni
1c9e381a21 Clippy fixes 2020-06-07 19:18:46 -07:00
Thom Chiovoloni
f7a573e44a Don't implement Into<RawStatement> for Statement 2020-06-07 19:18:46 -07:00
gwenn
6b4f207dc1
Merge pull request #759 from gwenn/3.32.2
Upgrade bundled sqlite to 3.32.2
2020-06-06 07:06:52 +02:00
gwenn
57e737f418 Try to fix Clippy warnings 2020-06-05 19:25:45 +02:00
gwenn
870290c64d Upgrade bundled sqlite to 3.32.2 2020-06-05 19:16:51 +02:00
Thom Chiovoloni
6058322cca Set codecov to informational mode. Fixes #725 2020-06-05 04:21:05 -07:00
Thom Chiovoloni
e3310b980d Disable RUST_BACKTRACE when running sanitizers.
This is an attempt to work around rust-lang/rust#59125.

Fixes #729
2020-06-05 04:21:05 -07:00
gwenn
f04b4b62b9
Merge pull request #757 from gwenn/iterators_doc
Try to explain why we need a map function
2020-06-03 19:04:51 +02:00
gwenn
7b08dc9ad5 Try to explain why we need a map function
To tranform the fallible streaming iterator.
2020-06-02 19:05:09 +02:00
gwenn
bb34f3fec8
Merge pull request #755 from gwenn/lifetime_elision
Lifetime elision
2020-06-02 18:21:13 +02:00
gwenn
c577a9d801 Lifetime elision 2020-06-01 18:44:02 +02:00
gwenn
52a80f95f7
Merge pull request #754 from gwenn/phantom_data
Fix some PhantomData declarations
2020-06-01 11:48:02 +02:00
gwenn
4e6dc91fc0
Merge pull request #753 from gwenn/vtab_cursor_lifetime
VTabCursor lifetime should be bound to VTab lifetime
2020-06-01 11:47:23 +02:00