Commit Graph

2140 Commits

Author SHA1 Message Date
gwenn
b3bd775f90
Merge pull request #983 from thomcc/value_ref-as_bytes
Add a helper function for getting the byte data from a ValueRef, regardless of if its Text or Blob
2021-07-03 07:23:30 +02:00
Thom Chiovoloni
15d3ae30e3 Add a helper function for getting the byte data from a value ref regardless of if its Text or Blob 2021-07-02 17:12:05 -07:00
gwenn
dcaa67a617
Merge pull request #973 from gwenn/doc_cfg
Use #[doc(cfg)]
2021-06-30 18:07:54 +02:00
gwenn
c8faf3e235
Merge pull request #979 from gwenn/3.36.0
Bump bundled sqlite3 version to 3.36.0
2021-06-29 18:07:35 +02:00
gwenn
0c348c9eb0 Fix clippy warning 2021-06-28 19:05:37 +02:00
gwenn
c670b6d653 Temporary allow deref_nullptr in tests
As a workaround to https://github.com/rust-lang/rust-bindgen/issues/2066
2021-06-28 19:04:27 +02:00
gwenn
a596482ab1 Bump bundled sqlite3 version to 3.36.0 2021-06-27 11:14:12 +00:00
gwenn
5730b2f952 Fix clippy warnings 2021-06-25 18:57:25 -07:00
gwenn
b14e326181 Use format_description macro 2021-06-14 21:34:05 +02:00
gwenn
fc9f03c1ca Make tests more succint by using Rfc3339 string 2021-06-14 20:49:59 +02:00
gwenn
2ddbebad97 Merge remote-tracking branch 'origin/master' into doc_cfg 2021-06-14 20:19:23 +02:00
gwenn
781d5b9fdd
Merge pull request #975 from gwenn/authorizer
Fix AuthContext / Authorization visibility
2021-06-14 19:54:22 +02:00
gwenn
83e8c96ae9 Fix InnerConnection::authorizer visibility 2021-06-14 19:26:09 +02:00
gwenn
34c9aed592
Merge pull request #974 from gwenn/inner
Fix InnerConnection decode_result / changes
2021-06-14 19:13:21 +02:00
gwenn
73fd16958e Fix missing docs 2021-06-13 10:57:01 +02:00
gwenn
a2756ffbb0 Fix AuthContext / Authorization visibility
Fix #972
Breaking change: Action is not visible from root anymore
2021-06-13 10:46:00 +02:00
gwenn
9cdf80f3ca Fix InnerConnection decode_result / changes
Fix #931
2021-06-13 10:39:36 +02:00
gwenn
0312937d6a Use #[doc(cfg)]
Fix #835
2021-06-13 09:17:35 +02:00
gwenn
bcf28fec35 Fix FromSql impl for OffsetDateTime
Fix test doc
2021-06-12 18:54:29 +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
5baaa9a224 Fix FromSql impl for OffsetDateTime
Reveal bugs
2021-06-12 12:04:10 +02:00
gwenn
78e4036f90 Fix FromSql impl for OffsetDateTime
See 'Missing datetime format support' #968
2021-06-11 21:42:02 +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
Thom Chiovoloni
840a6f3789 Bump bundled sqlite3 version to 3.35.5 2021-06-02 14:31:18 -07:00
Thom Chiovoloni
9aba53be3b Add a note mentioning licensing of bundled native code 2021-06-02 13:12:52 -07: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
a2d48a8c15
Add a function to return the path of a Connection (#963) 2021-05-29 22:48:48 -07:00
daladim
5511a12e57
Use env::var instead of cfg in some cases in build.rs (#961)
Co-authored-by: Thom Chiovoloni <chiovolonit@gmail.com>
2021-05-28 00:00:39 -07:00
gwenn
df02910660
Implement AsRef<Statement> for Row(s) (#887) 2021-05-26 14:51:28 +02:00
Nick Hynes
48e7561af9
Add support for authorizer hook (#946)
Co-authored-by: Thom Chiovoloni <chiovolonit@gmail.com>
2021-05-23 11:55:07 -07:00
Kornel
ba03b34374 Correct pkg-config version 2021-05-16 15:26:25 -07:00
gwenn
1985e78fa6
Fix clippy warnings (#959)
Fix clippy warnings
2021-05-13 08:58:46 +02: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
Thom Chiovoloni
cdce75328e Fix build on some older versions of Rust 2021-05-08 22:56:19 -07:00
Dirk Stolle
ca7a28b442 update year in license file 2021-05-08 14:02:46 -07:00
gwenn
cd40cc330b
Rustfmt (#956) 2021-05-07 19:39:53 +02: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
Nick Hynes
b8b1138fcf Add Statement::parameter_name 2021-04-26 01:16:10 -07:00
gwenn
9ea5e2fc04
Prepare release of rusqlite 0.25.1 (#940) 2021-04-19 18:57:30 +02:00
David Craven
3519aef29f
Use SQLITE_TEMP_STORE=3 on android. (#937) 2021-04-16 19:27:59 +02:00
gwenn
ddf69f749a
Upgrade to bindgen 0.58 (#933) 2021-04-05 17:35:23 +02:00
gwenn
6c956bb270
Test that extra_check feature works with RETURNING statements (#932)
Test that extra_check feature works with RETURNING statements
2021-04-04 12:47:21 +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
f6a69bede9
Upgrade SQLite bundled version to 3.35.4 (#929) 2021-04-03 11:52:51 +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
c4b398f468
Doctest column name reference (#918)
* Doctest column name reference
* Document rusqlite assumption on column name reference
And move doctest as a test.
* Document when columns metadata should be extracted.
* Rustfmt doc (wrap_comments)
2021-04-03 11:03:50 +02:00
Nick Hynes
ecbc0aa767
Leniently parse rfc3339 timezones (#928) 2021-04-03 10:56:11 +02:00