Damien Elmes
6e33947c2a
update to sqlite 3.33.0
2020-08-17 11:01:19 +10: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
gwenn
3cea0c7af5
Benchmark execute vs execute_batch
2020-06-27 09:54:33 +02:00
gwenn
870290c64d
Upgrade bundled sqlite to 3.32.2
2020-06-05 19:16:51 +02:00
Evgeniy A. Dushistov
d16748ac9f
adding ability to work with sqlite compiled with -DSQLITE_OMIT_DECLTYPE
...
fix #751
2020-06-01 06:31:27 +03:00
Thom Chiovoloni
65ef2224b6
Cut release 0.23.1
2020-04-23 15:05:54 -07:00
Thom Chiovoloni
54043c803c
Prep release 0.23.0
2020-04-23 09:48:08 -07:00
Thom Chiovoloni
185899eab1
Run asan in CI. Fixes #713
2020-04-16 03:09:51 -07:00
Thom Chiovoloni
b079463bd2
Ignore checked-in generated or external code, and add badges
2020-04-16 01:25:27 -07:00
Thom Chiovoloni
9322b0e881
Update links & copyright statement
2020-04-15 21:37:39 -07:00
Thom Chiovoloni
552416039e
Optimize named params via caching and use of smallvec
2020-04-14 10:26:41 -07:00
Thom Chiovoloni
22564d3099
Upgrade bundled sqlite to 3.31.1
2020-04-10 16:15:34 -07:00
Thom Chiovoloni
6b8e2fc02b
Prep rusqlite 0.22.0 and libsqlite3-sys 0.17.3
2020-04-08 10:59:28 -07:00
Thom Chiovoloni
6f4c67e1ea
Run buildtime_bindgen and session in github CI instead where possible
2020-04-07 15:57:25 -07:00
Thom Chiovoloni
f95c3775b2
Replace the big CI feature list with bundled-full feature
2020-04-07 14:28:03 -07:00
Thom Chiovoloni
f5c20abaa1
Remove unused vtab_v3 feature while I'm here
2020-04-07 14:28:03 -07:00
Thom Chiovoloni
7e4ff77a43
Use bencher
instead of unstable libtest
2020-04-07 14:28:03 -07:00
Thom Chiovoloni
802eb669c3
Expose bundled-windows feature from rusqlite directly ( #682 )
2020-04-06 17:52:12 -07:00
Thom Chiovoloni
169b3c51fd
Prepare 0.22.0-beta.0 (prerelease/unstable/testing build) ( #679 )
2020-04-06 14:58:28 -07:00
Thom Chiovoloni
521f8dc481
Prep for libsqlite3-sys 0.17.2 ( #667 )
...
This is essentially to get a release out that contains `in_gecko` so
that this library can be used in firefox.
Note: This had temporarially been 0.18.0, but as noted in
https://github.com/jgallagher/rusqlite/pull/619#discussion_r370435032
there isn't an actual need for this, as it isn't a breaking change.
By releasing it as 0.17.2, we can still link rusqlite 0.21 against it,
which lets us avoid needing to cut a release of rusqlite just for a
gecko-specific linkage flag (I imagine there are a few more rusqlite
features we'd want for the next release).
2020-04-06 10:07:55 -07:00
Thom Chiovoloni
a2db66ee3e
Add in_gecko feature to libsqlite3-sys to bypass linking.
2020-04-03 13:37:56 -07:00
gwenn
0edc91e8ef
Disable benches by default
2020-03-08 16:14:04 +01:00
gwenn
8ddacbb27c
doctest README.md
2020-03-08 15:36:56 +01:00
Thom Chiovoloni
0f0852a2a8
Add playground metadata for rusqlite
, hopefully fixing it
2020-03-08 05:07:44 -07:00
Kamran Mackey
c3f83c281a
Upgrade bundled SQLite version to 3.31.0.
...
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com>
2020-01-26 12:44:03 -07:00
Thom Chiovoloni
c70d148542
Remove most of the code using feature=bundled
as a version check
2020-01-14 08:11:36 -08:00
gwenn
74b1c64761
[ci skip] Prepare release 0.21
2019-12-13 19:17:14 +01:00
Steven Roose
c162a4516c
Replace deprecated tempdir with tempfile
...
This also removes one dependency on the winapi crate. The current
version of the time crate also depends on winapi, but work is being done
to replace that version with 0.2 to remove the winapi dependency.
2019-11-22 11:12:53 +00:00
gwenn
0693d5f6ce
Reactivate session feature
...
And fix partially x_input.
2019-11-01 09:57:56 +01:00
gwenn
a7ad3849da
Upgrade bundled SQLite version to 3.30.1
2019-10-19 09:16:14 +00:00
gwenn
e880987fa3
Upgrade to uuid 0.8 ( #576 )
...
* Upgrade to uuid 0.8
2019-10-18 18:57:27 +02:00
gwenn
00d50199a2
Check SQL query passed to execute
...
When `extra_check` feature is activated:
Fail when query has a column count > 0
Or when query is readonly.
2019-08-26 20:21:23 +02:00
gwenn
797baf230d
[ci skip] Prepare release 0.20
...
rusqlite 0.20.0
And libsqlite3-sys 0.16.0
2019-07-27 09:48:43 +02:00
gwenn
3ff7b41527
Update docs.rs features
2019-07-27 09:15:52 +02:00
gwenn
813ec1272e
Upgrade dependencies
...
bindgen 0.51
url 2.0
2019-07-27 09:14:55 +02:00
gwenn
30b41bed20
Make Module
impl Send
...
Also introduce a dedicated feature for series virtual table.
2019-07-11 19:21:54 +02:00
gwenn
be12a78e60
Upgrade bundled SQLite version to 3.29
2019-07-11 16:27:07 +00:00
gwenn
a52eeb2565
[ci skip] Prepare release 0.19
...
rusqlite 0.19.0
And libsqlite3-sys 0.15.0
2019-06-26 18:13:41 +02:00
gwenn
f1198dd9ff
Add binding to sqlite3_create_window_function
2019-06-25 20:33:49 +02:00
gwenn
bb7ae7f215
Add binding to sqlite3_create_collation_v2
2019-06-17 19:20:53 +02:00
gwenn
9b78f6e3f7
Prepare 0.18.0 release
2019-04-24 18:07:04 +02:00
Simon Bernier St-Pierre
c42175a424
add support for Uuid
2019-04-08 14:19:42 -04:00
gwenn
cfbce6f376
Upgrade to fallible-iterator 0.2
2019-03-19 20:56:13 +01:00
gwenn
1013571186
[ci skip] Prepare version 0.17.0
2019-03-10 14:21:29 +01:00
gwenn
e760344351
Upgrade bundled version to SQLite 3.27.2
...
And upgrade to bindgen 0.48
2019-03-10 13:49:21 +01:00
gwenn
ac0baecfe2
Merge pull request #478 from gwenn/fallible-iterator
...
Make `Rows` implement `FallibleStreamingIterator`
2019-03-10 13:13:34 +01:00
gwenn
71a2004894
Add Rows::map method
2019-03-10 12:58:20 +01:00
gwenn
59a44cfae5
Merge remote-tracking branch 'jgallagher/master' into fallible-iterator
2019-03-10 11:12:14 +01:00
Thom Chiovoloni
5ba6909921
Add optional support for rust-url
2019-03-09 19:16:37 -08:00
Thom Chiovoloni
04f900059d
Avoid unnecessary copies/allocations when passing strings to sqlite
2019-02-26 19:47:17 -08:00
gwenn
d93dec52c0
Make Rows
implement FallibleStreamingIterator
2019-02-03 14:01:42 +01:00
gwenn
f9099ba02b
Add workspace declaration
2019-02-02 11:00:12 +01:00
gwenn
dbc4eef657
Session extension ( #459 )
...
Session extension bindings
2019-01-13 12:46:19 +01:00
gwenn
c28795e7b8
Upgrade to libsqlite3-sys 0.12
2019-01-06 10:02:43 +01:00
gwenn
7619f638a8
[ci skip] Prepare 0.16.0 release
2018-12-16 18:15:58 +01:00
gwenn
75c0fe349a
Add xShadowName only if bundled
or vtab_v3
activated
2018-12-15 11:53:41 +01:00
gwenn
287e2f5dbc
Fix vtab modules
...
`xShadowName` added
2018-12-15 10:51:02 +01:00
gwenn
f04047db01
Rust 2018
2018-10-30 20:15:08 +01:00
gwenn
ea778f8141
[ci skip] prepare version 0.15.0
2018-10-21 15:41:25 +02:00
Thom Chiovoloni
572471c40f
Add a feature for storing i128 as blobs.
...
This is behind the `i128_blob` feature.
Blobs are stored as 16 byte big-endian values, with their most significant bit
flipped. This is so that sorting, comparison, etc all work properly, even with
negative numbers. This also allows the representation to be stable across
different computers.
It's possible that the `FromSql` implementation should handle the case that the
real value is stored in an integer. I didn't do this, but would be willing to
make the change. I don't think we should store them this way though, since I
don't think users would be able to sort/compare them sanely.
Support for `u128` is not implemented, as comparison with i128 values would work
strangely. This also is consistent with `u64` not being allowed, not that I
think that would be reason enough on it's own.
The `byteorder` crate is used if this feature is flipped, as it's quite small
and implements things more or less optimally. If/when `i128::{to,from}_be_bytes`
gets stabilized (https://github.com/rust-lang/rust/issues/52963 ), we should
probably use that instead.
2018-10-08 12:22:28 -07:00
gwenn
9db7b2e7af
Remove old bindgens
...
Keep the oldest/default one (3.6.8).
But remove intermediate versions: 3.6.11, 3.7.3, 3.7.4, 3.7.16.
2018-09-04 18:58:17 +02:00
gwenn
bca3d52848
Merge pull request #385 from gwenn/array_fix
...
`array` feature should not require `bundled` #384
2018-08-30 21:49:12 +02:00
gwenn
abe1792f59
array
feature should not require bundled
#384
...
Minimal fix
2018-08-30 21:15:38 +02:00
gwenn
a75b614ecf
[ci skip] Add maintenance badge
2018-08-26 07:23:41 +02:00
gwenn
e4b8d2779f
[ci skip] Prepare 0.14.0
2018-08-17 17:48:53 +02:00
gwenn
cea8e5cea2
[ci skip] Array module is buggy
...
AddressSanitizer: heap-use-after-free on address
2018-08-05 13:22:04 +02:00
gwenn
e2df03f474
Remove macros
2018-07-14 18:47:52 +02:00
gwenn
823f3c96aa
Ensure Virtual tables can be declared outside rusqlite
crate
...
Not sure it is the way to go.
2018-07-14 11:01:19 +02:00
gwenn
fa64a4d0bf
Draft for carray module in Rust
...
Incomplete support for sqlite3_bind_pointer.
Make Context::set_result return a Result.
Add Values::get_array.
2018-06-10 18:29:38 +02:00
gwenn
33b1b19d92
Upgrade to csv 1.0
2018-05-13 12:21:58 +02:00
gwenn
6cbeb6ef59
Introduce context module
...
To make `set_result` and `report_error` in functions module
visible to vtab module.
2018-05-13 11:44:31 +02:00
gwenn
1e3dc542a4
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-05-06 08:00:12 +02:00
gwenn
fee4bfcc86
Merge remote-tracking branch 'jgallagher/master' into unlock-notify
2018-05-04 18:06:41 +02:00
gwenn
9c36d29f5e
Upgrade regexp dependency
2018-05-02 18:21:35 +02:00
gwenn
30e23cf0a0
Fix features dependencies
2018-04-30 22:09:41 +02:00
gwenn
9c5c9e3c7e
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-04-30 22:02:14 +02:00
gwenn
7c4105afd9
Upgrade dependencies
...
bindgen from 0.32 to 0.35
lazy_static from 0.2 to 1.0
2018-04-06 21:37:03 +02:00
gwenn
5d91fb088f
Unlock notification
2018-03-24 08:03:21 +01:00
gwenn
db87de4086
Inline csv dependency
2018-03-10 17:05:22 +01:00
gwenn
c10c4edb84
Upgrade to csv 0.15
2018-01-27 10:36:24 +01:00
gwenn
3aaab1e36f
Merge remote-tracking branch 'remotes/jgallagher/master' into vtab
2018-01-20 12:29:07 +01:00
gwenn
96103b0662
Merge remote-tracking branch 'jgallagher/master' into hooks
2018-01-20 10:08:40 +01:00
John Gallagher
a3bec58c96
Bump to v0.13.0.
2017-11-13 15:55:48 -07:00
John Gallagher
f28df22a70
Add limits feature to docs.rs metadata.
2017-11-13 15:50:59 -07:00
John Gallagher
42643820f6
Merge branch 'doc-rs' of https://github.com/gwenn/rusqlite into gwenn-doc-rs
2017-11-13 15:49:25 -07:00
John Gallagher
cbdbacddd8
Merge branch 'sqlcipher' of https://github.com/lvillani/rusqlite into lvillani-sqlcipher
2017-11-13 13:29:24 -07:00
Lorenzo Villani
8cbfc00ec6
Add support for linking to SQLCipher
2017-10-24 19:52:19 +02:00
Ossi Herrala
28d58529b7
Update dependencies
...
* Gcc crate has been renamed to cc.
* Chrono::UTC has been renamed to Chrono::Utc.
* bitflags 1.0 uses associated constants. So prefix OpenFlags.
2017-10-09 23:25:40 +03:00
gwenn
c842e789bd
Merge remote-tracking branch 'jgallagher/master' into vtab
2017-09-11 19:45:22 +02:00
gwenn
83fb80d346
Docs.rs now supports building non-default features
2017-06-09 20:04:28 +02:00
gwenn
99ef10d599
Merge remote-tracking branch 'jgallagher/master' into doc-rs
2017-06-09 19:49:57 +02:00
John Gallagher
58aca46a3d
Bump version to 0.12.0.
2017-05-29 13:42:15 -04:00
John Gallagher
4623064f4d
Update to bitflags 0.9.
2017-05-29 10:52:19 -04:00
gwenn
3b575c3b4a
Implementation of sqlite3_update_hook #260
...
First draft (no tested and a memory leak)
2017-04-25 20:58:22 +02:00
gwenn
1d684ae653
Merge remote-tracking branch 'jgallagher/master' into vtab
2017-04-21 20:01:04 +02:00
gwenn
30bba4618b
Upgrade outdated dependencies
...
serde 0.9 -> 1.0
bitflags 0.7 -> 0.8
bindgen 0.21 -> 0.23
2017-04-21 19:47:47 +02:00
John Gallagher
cd824aeaee
Bump to 0.11.0
2017-04-06 14:10:32 -04:00
John Gallagher
5a5d28ec69
Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys.
...
Bump to version 0.10.3 to use libsqlite3-sys 0.8.0.
2017-04-06 13:42:01 -04:00
John Gallagher
893bae1220
Bump to 0.10.2.
2017-04-05 14:34:06 -04:00