Commit Graph

2122 Commits

Author SHA1 Message Date
gwenn
df27410897
Merge pull request #1067 from nicholasbishop/bishop-fix-transac-doc
Fix markdown rendering of Connection::transaction doc
2021-12-31 17:58:13 +01:00
Nicholas Bishop
94cd2cbf6b Fix markdown rendering of Connection::transaction doc
This fixes `DropBehavior::Commit` being rendered as `DropBehavior: :Commit`.
2021-12-30 15:45:23 -05:00
Thom Chiovoloni
45fff21c51 Enable modern-full feature for docs.rs 2021-12-29 12:14:30 -05:00
gwenn
063709491c
Merge pull request #1064 from gwenn/series
Sync series with official source
2021-12-22 20:04:27 +01:00
gwenn
f177ee1c72 Sync series with official source 2021-12-22 19:49:33 +01:00
gwenn
87a65a8c4b
Merge pull request #1063 from gwenn/no_lazy_static_for-vtab
Remove lazy_static dependency for vtab
2021-12-18 10:10:04 +01:00
gwenn
75f1bb8fa8 Remove lazy_static dependency for vtab 2021-12-18 10:00:06 +01:00
gwenn
08b78a47e9
Merge pull request #1062 from gwenn/clippy
Fix clippy warnings
2021-12-18 08:54:38 +01:00
gwenn
0ce15c546a Fix clippy warnings 2021-12-18 08:42:04 +01:00
gwenn
456c847bd6
Merge pull request #1060 from gwenn/doc
Doc
2021-12-11 12:21:53 +01:00
gwenn
4ceb290235 Fix rollback_hook doc 2021-12-11 12:10:01 +01:00
gwenn
3d19f2c962 Fix SQLite version 2021-12-11 12:09:12 +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
28da7a2ad9 Fix clippy warning
warning: this implementation is unsound, as some fields in `Connection` are `!Send`
   --> src/lib.rs:339:1
339 | unsafe impl Send for Connection {}
2021-12-04 10:07:56 +01:00
gwenn
934e0c709e Fix callbacks lifetime 2021-12-01 04:28:09 -08:00
gwenn
612158507e Fix callbacks lifetime 2021-12-01 04:28:09 -08:00
gwenn
30f8c8c502 Fix callbacks lifetime 2021-12-01 04:28:09 -08:00
gwenn
d70fbac231
Merge pull request #1046 from gwenn/split_upgrade_script
Split upgrade script
2021-11-28 18:58:15 +01:00
gwenn
75e17a634c
Merge pull request #1047 from gwenn/upgrade
Upgrade checks
2021-11-28 18:56:56 +01:00
gwenn
aede11e6fd Upgrade checks
List Rust enums / structs impacted when new SQLite constants are
introduced.
2021-11-28 18:09:42 +01:00
gwenn
4ec670edeb Split upgrade script
Such as we can upgrade SQLite / SQLCipher without regenerating SQLCipher / SQLite files
2021-11-28 10:09:37 +00:00
gwenn
c5b96241f1
Merge pull request #1045 from gwenn/3.37.0
Bump bundled sqlite3 version to 3.37.0
2021-11-28 10:58:15 +01:00
gwenn
9acc6f85f0 Rustfmt 2021-11-28 09:41:54 +00:00
gwenn
e65fd1e8e4 Ignore dcl_type case 2021-11-28 09:38:24 +00:00
gwenn
19d0887179 Add new SQLITE_OPEN_EXRESCODE flag 2021-11-28 09:08:52 +00:00
gwenn
006c8b77e7 Add new SQLITE_CONSTRAINT_DATATYPE constant 2021-11-28 09:04:45 +00:00
gwenn
795a53d368 Bump bundled sqlite3 version to 3.37.0 2021-11-28 08:45:16 +00:00
gwenn
6ad1cb684d
Merge pull request #1044 from gwenn/reenable-bindgen-ci
Revert "CI: Temporarially disable coverage for features that require bindgen"
2021-11-27 11:36:09 +01:00
gwenn
c5be8043a2 Revert "CI: Temporarially disable coverage for features that require bindgen"
This reverts commit a55101fbfa.
2021-11-27 11:22:38 +01:00
Lukas Himbert
289b4e45b2 implement FromSql for chrono::DateTime<FixedOffset> 2021-11-22 21:09:25 -08:00
Lukas Himbert
53e74a3f09 preserve offset when writing chrono::DateTime<FixedOffset> 2021-11-22 21:09:25 -08:00
Daan Schutte
0960e75fd2 Remove all-targets from contribution checklist 2021-11-22 21:08:23 -08:00
Daan Schutte
ca41531f6f Add missing import 2021-11-22 09:10:37 -08:00
Daan Schutte
40fbc5ca10 Include varying positional param types in docs 2021-11-22 09:10:37 -08:00
gwenn
9776b99c37
Merge pull request #1041 from ur0/patch-1
libsqlite3-sys: darwin: fix crypto link framework
2021-11-15 19:19:19 +01:00
Umang Raghuvanshi
74faf8a12c
libsqlite3-sys: darwin: fix crypto link framework
SecurityFoundation.framework is an unrelated macOS framework which does not directly provide cryptography functions. This framework also doesn't exist on iOS, which breaks linking This commit changes to link against Security.framework instead, as noted in the SQLCipher docs [1].

[1] https://www.zetetic.net/blog/2013/6/27/sqlcipher-220-release.html
2021-11-15 18:40:49 +01:00
gwenn
5d42ba7c29
Merge pull request #912 from Genomicsplc/fix-needless-update-warning
silence clippy::needless-update warning in vtab module creation functions
2021-10-23 16:57:45 +02:00
gwenn
c2d595aa11
Merge pull request #1034 from gwenn/2021_edition
Migrate to 2021 edition
2021-10-21 20:20:01 +02:00
gwenn
b1257cdb79 Fix error: docs for unsafe trait missing # Safety section 2021-10-21 19:50:03 +02:00
gwenn
99aded446d Fix error: the item TryInto is imported redundantly 2021-10-21 19:48:38 +02:00
gwenn
2f508e7a38 Fix error: the item TryFrom is imported redundantly 2021-10-21 19:20:44 +02: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
20583ff508
Merge pull request #1022 from gwenn/clippy
Fix clippy warnings
2021-10-17 08:30:58 +02:00
Thom Chiovoloni
6a22bb7a56 Update readme, prep for a cutting a libsqlite3-sys@v0.23.1 2021-10-07 00:28:26 -07:00
BlackHoleFox
28b89a1aa7 Make openssl-sys version less specifc for scroll-reading 2021-10-05 22:48:16 -07:00
BlackHoleFox
66ace52c4a Fix OpenSSL linking on Windows
Technically this is a breaking change moving from `libeay32` to
`libcrypto` but no one should be using an openssl version from <=2016.
2021-10-05 22:48:16 -07:00
gwenn
3982393bbe
Merge pull request #1023 from gwenn/0.26.0
Prep release 0.26.0
2021-10-04 18:54:47 +02:00