Commit Graph

264 Commits

Author SHA1 Message Date
gwenn
7a6a2d01d4 Upgrade regexp dev dependency 2022-05-26 07:34:50 +02:00
gwenn
42acaec9bc Remove unused memchr dependency 2022-05-26 07:33:37 +02:00
gwenn
616781957e Upgrade uuid dependency 2022-04-20 17:08:00 +02:00
Nikolai Vazquez
4d06d2222f Add Connection::release_memory method
This is behind a new `release_memory` feature flag. It simply calls
`sqlite3_db_release_memory` on the raw handle.
2022-04-17 08:40:36 -07:00
Thom Chiovoloni
f8b9ad8907 Disable winsqlite3 on 32 bit targets 2022-04-03 08:08:45 -07:00
gwenn
9cc3793f10 Upgrade hashlink dependency 2022-03-16 18:24:27 +01:00
Thom Chiovoloni
2ec0b2e8fe Implement Params for tuples of ToSql up to size 16, and touch up docs 2022-03-10 13:07:06 -08:00
gwenn
2dc92fb73c Prepare release 0.27.0 2022-02-27 18:41:10 +01:00
gwenn
2d37c2de41 Exclude some configuration files from package 2022-01-08 12:42:42 +01:00
trevyn
c759bc7527 Consolidate to FromSqlError::InvalidBlobSize (breaking) 2022-01-02 18:24:56 -08:00
Thom Chiovoloni
45fff21c51 Enable modern-full feature for docs.rs 2021-12-29 12:14:30 -05:00
gwenn
75f1bb8fa8 Remove lazy_static dependency for vtab 2021-12-18 10:00:06 +01:00
Thom Chiovoloni
287b0ea08b Undo transition to edition 2021, prep release 0.26.3 2021-12-08 17:06:01 -08:00
Thom Chiovoloni
03dbb7821c Prep releases libsqlite3-sys:0.23.2 and rusqlite:0.26.2 2021-12-07 19:58:11 -08:00
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