Commit Graph

250 Commits

Author SHA1 Message Date
gwenn
b41bb8085c Migrate to 2021 edition 2021-10-21 18:43:34 +02:00
Thom Chiovoloni
6857307e4c Prep release 0.26.1 2021-10-18 18:17:24 -07:00
Nick Mathewson
2f76a63510 Only use minimal features for chrono crate.
The default features for `chrono` include the `oldtime` feature,
which provides compatibility with `time` version 0.1.43.  But
old versions of the `time` are affected by RUSTSEC-2020-0071.html ,
which causes any crate built with rustsql's `chrono` feature to fail
a cargo-audit check.

This patch minimizes the features used from `chrono` to include only
the `clock` feature, which appears to be sufficient to get the tests
to pass.

(I don't believe that the bug in `time` reflects an actual
vulnerability in `rusqlite`, since even when `chrono` is using
`time`, it only does so in order to expose the same `Duration`
type.)
2021-10-17 11:19:58 -07:00
gwenn
2d17dc67f5 Prep release 0.26.0 2021-10-04 18:38:04 +02:00
gwenn
0075671b09 Upgrade time crate to version 0.3.0 2021-07-30 21:31:52 +02:00
gwenn
b3f8c283f1 Merge remote-tracking branch 'upstream/master' into time-fmt 2021-07-30 21:24:51 +02:00
gwenn
b14e326181 Use format_description macro 2021-06-14 21:34:05 +02:00
gwenn
0312937d6a Use #[doc(cfg)]
Fix #835
2021-06-13 09:17:35 +02:00
gwenn
125f5dfbde Fix FromSql impl for OffsetDateTime
Use time 0.3.0-alpha-1
2021-06-12 18:29:01 +02:00
gwenn
ee7f7b89d5
Add time back to modern-full feature (#969)
See https://github.com/time-rs/time/issues/292
Update CI build file accordingly
2021-06-11 19:59:09 +02:00
dubiousjim
8770e7d443
Add bundle-sqlcipher and bundle-ssl (#860)
Co-authored-by: Thom Chiovoloni <chiovolonit@gmail.com>
2021-06-02 12:07:56 -07:00
Thom Chiovoloni
e7bb33a99c Bump to 0.25.3 2021-05-08 23:54:26 -07:00
Thom Chiovoloni
fd070db601 bundled-full should not be a default feature 2021-05-08 23:54:26 -07:00
Thom Chiovoloni
97c81d68fc Prep release 0.25.2 2021-05-08 23:06:59 -07:00
gwenn
26f3e50f5a
Upgrade to hashlink 0.7 (#955) 2021-05-07 19:32:40 +02:00
Dirk Stolle
c33d6bfad3 fix several typos 2021-05-02 23:03:10 -07:00
gwenn
9ea5e2fc04
Prepare release of rusqlite 0.25.1 (#940) 2021-04-19 18:57:30 +02:00
gwenn
517ef2beae
Prepare release 0.25.0 (#930)
rusqlite 0.25.0
libsqlite3-sys 0.22.0
Also fix missing README for libsqlite3-sys crate
And fix a typo.
2021-04-03 20:07:53 +02:00
gwenn
8820a5538a
Fix smallvec version (#896)
* Fix smallvec version
https://rustsec.org/advisories/RUSTSEC-2021-0003.html
2021-04-03 11:04:43 +02:00
gwenn
84367c8310
Remove travis badge 2021-02-03 19:16:59 +01:00
Dubiousjim
46d91cd2b6 Cargo.toml: be explicit about what bundled-full omits 2020-12-07 21:40:08 -05:00
gwenn
0a2e0b7240
Merge pull request #856 from gwenn/3.34.0
Upgrade SQLite bundled version to 3.34.0
2020-12-05 07:28:17 +01:00
Thom Chiovoloni
4601d8a2f3
Merge pull request #858 from rusqlite/hotfix-v0.24.2 2020-12-04 19:20:03 -08:00
Thom Chiovoloni
cef6dbbb26 Prep release v0.24.2
This will be the same as v0.24.1 with
cf598aa0a3 cherry-picked in.
2020-12-04 18:55:08 -08:00
Emilio Cobos Álvarez
154e4869ee Use a weaker dependency on smallvec.
There's no reason to use 1.4, 1.0.0 works just as well.

1.4 causes a big perf regression in Firefox, see
https://github.com/servo/rust-smallvec/issues/243, so while we figure
that out we'd like to keep using 1.3.0.
2020-12-04 18:52:51 -08:00
Emilio Cobos Álvarez
cf598aa0a3 Use a weaker dependency on smallvec.
There's no reason to use 1.4, 1.0.0 works just as well.

1.4 causes a big perf regression in Firefox, see
https://github.com/servo/rust-smallvec/issues/243, so while we figure
that out we'd like to keep using 1.3.0.
2020-12-04 18:50:02 -08:00
gwenn
67102efb2f Upgrade SQLite bundled version to 3.34.0 2020-12-04 18:26:02 +00:00
Thom Chiovoloni
295b8f2143 Update time to appease deps.rs 2020-11-26 22:45:17 -08: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
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
d456cd42f2 Generate doc with 'array' feature enabled
Should fix #781
2020-10-04 07:26:18 +02:00
gwenn
405d0de8f6 Prepare release of version 0.24.0 2020-08-22 07:23:03 +02:00
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