gwenn
43591154b2
clippy:ptr_as_ptr
2022-01-05 19:50:25 +01:00
gwenn
30f8c8c502
Fix callbacks lifetime
2021-12-01 04:28:09 -08:00
gwenn
0312937d6a
Use #[doc(cfg)]
...
Fix #835
2021-06-13 09:17:35 +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
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
gwenn
ed3bfbdf9d
Silent some clippy warnings ( #924 )
...
* allow(clippy::upper_case_acronyms) for rust enum entries that match
SQLite constants.
* allow(clippy::needless_return) for collation_needed_callback until we
find a way to propagate the error.
2021-03-25 21:06:46 +01:00
gwenn
47ec0e1d8f
Fix create_collation
...
The xDestroy callback is not called if the sqlite3_create_collation_v2() function fails.
2020-11-07 11:54:59 +01:00
gwenn
da94f8eba6
Make tests return Result
2020-11-05 22:14:00 +01:00
Thom Chiovoloni
65c38bf813
Add #[inline]
and #[cold]
in far more places
2020-11-04 07:59:23 -08:00
Thom Chiovoloni
22121772a2
Deprecate NO_PARAMS in favor of passing an empty array
2020-11-03 19:09:19 -08:00
gwenn
926977846f
Reduce required lifetime
...
Extends #825 to
- create_collation
- commit_hook
- rollback_hook
- update_hook
- table_filter
2020-10-28 19:20:05 +01:00
gwenn
2a7b11320f
Fix clippy warnings
2020-08-17 20:07:56 +02:00
Thom Chiovoloni
cf9b6e9ae2
Avoid relying on sqlite to justify str::from_utf8_unchecked
2020-04-14 09:31:29 -07:00
Thom Chiovoloni
26c744d0c3
Improve CI test coverage ( #670 )
...
* Improve CI test coverage
* Run clippy/rustfmt/rustdoc in CI
* Disable warnings when building bundled sqlite
2020-04-06 10:43:43 -07:00
Thom Chiovoloni
6617db59fb
Document which features are required, and add vtab usage examples ( #669 )
2020-04-05 22:15:27 -07:00
gwenn
00d50199a2
Check SQL query passed to execute
...
When `extra_check` feature is activated:
Fail when query has a column count > 0
Or when query is readonly.
2019-08-26 20:21:23 +02:00
gwenn
dfcc4511ea
Fix Clippy warning
2019-08-17 08:19:19 +02:00
gwenn
f6199df9f9
Add binding to sqlite3_collation_needed
2019-06-18 19:03:13 +02:00
gwenn
bb7ae7f215
Add binding to sqlite3_create_collation_v2
2019-06-17 19:20:53 +02:00