Commit Graph

2191 Commits

Author SHA1 Message Date
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
gwenn
2d17dc67f5 Prep release 0.26.0 2021-10-04 18:38:04 +02:00
gwenn
ce90b519bb Fix clippy warnings 2021-10-01 20:09:48 +02:00
Christopher Gundler
e2af87f747 Allow static linking against the VC runtime 2021-10-01 01:23:37 -07:00
Toby Murray
8a88ba647c 'restricts' -> 'restrictions' 2021-09-23 06:49:58 -07:00
Thom Chiovoloni
b612c6d727 Make load_extension unsafe 2021-09-06 16:28:04 -07:00
Paweł Kubrak
ca37ea2569 Add as_type_or_null to ValueRef 2021-08-17 19:21:59 -07:00
Thom Chiovoloni
e92e8a0924 Use a generic ToSql param in pragma functions 2021-08-01 11:12:08 -07:00
gwenn
a09a4e9346
Merge pull request #1008 from thomcc/disable-bindgen-ci
CI: Temporarially disable coverage for features that require bindgen
2021-08-01 07:04:39 +02:00
Thom Chiovoloni
a55101fbfa CI: Temporarially disable coverage for features that require bindgen 2021-07-31 14:58:06 -07:00
Thom Chiovoloni
1e80b8165f Apply review feedback (fix upgrade.sh) 2021-07-31 14:40:00 -07:00
Thom Chiovoloni
28cd67300b Include the session FFI in the bundled bindings 2021-07-31 14:40:00 -07:00
gwenn
9eb97aa9dd
Merge pull request #970 from gwenn/time-fmt
Fix FromSql impl for OffsetDateTime
2021-07-31 11:41:55 +02:00
gwenn
0241350af3 Check Rfc3339 before stripping Z
So that "2013-10-07T08:23:19Z" and "2013-10-07T08:23:19.120Z" are
correctly parsed.
2021-07-31 11:05:42 +02:00
gwenn
7e74952e2e
Merge pull request #1006 from gwenn/constraints_and_usages
Iterate on both index constraint and usage
2021-07-31 10:01:37 +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
6f4283be94 Iterate on both index constraint and usage 2021-07-29 19:48:34 +02:00
Thom Chiovoloni
db914abd00 Make the empty placeholder params be Send + Sync 2021-07-28 13:45:28 -04:00
gwenn
6450565cc7
Merge pull request #986 from gwenn/remove_check_macro
[Cosmetic] Remove check macro
2021-07-27 18:59:53 +02:00
gwenn
187d1fec07 Merge remote-tracking branch 'upstream/master' into remove_check_macro
# Conflicts:
#	src/blob/pos_io.rs
2021-07-27 18:36:44 +02:00
gwenn
01b52990da
Merge pull request #988 from gwenn/error_handle
Retrieve error message from database connection handle
2021-07-27 18:31:42 +02:00
gwenn
569893531e
Merge pull request #987 from gwenn/checked_memory_handle
[Cosmetic] Replace some usages of checked_memory_handle
2021-07-27 18:20:02 +02:00
gwenn
50097e1e44 Fix unused import 2021-07-27 18:17:07 +02:00
Jiahao XU
0241cb0388 Fix the typename used in doc for VTab and VTabCursor
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2021-07-25 22:30:44 -04:00
gwenn
b17942125f
Merge pull request #994 from gwenn/bindgen
Upgrage bindgen to version 0.59
2021-07-21 18:59:42 +02:00
gwenn
7c2263dabc Upgrage bindgen to version 0.59 2021-07-21 18:48:05 +02:00
gwenn
2dea70304d Retrieve error message from database connection handle 2021-07-04 16:53:40 +02:00
gwenn
7ddf1316a2 Replace some usages of checked_memory_handle
In tests which return Result, we don't need to unwrap.
2021-07-04 16:04:13 +02:00
gwenn
7056e656ac Remove check macro
Can be replaced by a simple function and ? operator.
2021-07-04 15:52:31 +02:00
gwenn
10da56788c
Merge pull request #985 from gwenn/cache_flush
Access to sqlite3_db_cacheflush via Connection
2021-07-03 18:02:34 +02:00
gwenn
1970b60109 Add minimal test for cache_flush 2021-07-03 17:03:58 +02:00