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
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