Commit Graph

273 Commits

Author SHA1 Message Date
gwenn
a927ce1bb6 Merge remote-tracking branch 'upstream/master' into captured_identifiers 2023-04-11 19:43:00 +02:00
gwenn
8419b021bd Prepare next release 2023-03-26 10:24:57 +02:00
dependabot[bot]
da4cc409f9
Update bitflags requirement from 1.2 to 2.0
Updates the requirements on [bitflags](https://github.com/bitflags/bitflags) to permit the latest version.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.2.0...2.0.0)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 17:56:33 +00:00
gwenn
35e8a498c4 Remove lazy_static optional dependency
Was used by virtual table
2023-03-11 11:21:47 +01:00
gwenn
cc23f9cdd7 Captured identifiers in SQL strings
Initial draft
2022-11-20 18:07:17 +01:00
gwenn
2dd11143c9 Remove min_sqlite_version_3_7_16 feature
And associated bindgen
2022-08-30 13:05:47 -07:00
gwenn
6766d6a6cd Remove old_sqlite feature
And associated bindgen_3.6.8.rs
2022-08-30 13:05:47 -07:00
gwenn
6e740d0611 Change default minimal SQLite API version
From 3.6.8 to 3.14.0.
Use `old_sqlite` feature to keep 3.6.8 (or 3.7.16) as the minimal version.
Use `modern_sqlite` for SQLite API > 3.14.0.
Also remove old 3.6.23 and 3.7.7 bindings.
2022-08-30 13:05:47 -07:00
gwenn
153d8fbc71 Prepare for next release 2022-07-14 13:44:05 +02:00
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