Commit Graph

2267 Commits

Author SHA1 Message Date
Richard Dodd (dodj)
5430715982
Fix error when building with uuid and functions features. 2019-04-26 15:15:07 +01:00
gwenn
6ba8934cba
Merge pull request #513 from gwenn/3.28
Upgrade bundled SQLite sources to 3.28.0
2019-04-25 19:15:47 +02:00
gwenn
13ee12cb0c Upgrade bundled SQLite sources to 3.28.0
Also upgrade bindgen to 0.49
2019-04-25 18:50:21 +02:00
gwenn
9b78f6e3f7 Prepare 0.18.0 release 2019-04-24 18:07:04 +02:00
gwenn
c0e6a584ad Prepare 0.14.0 release 2019-04-24 18:03:11 +02:00
gwenn
3a382d2fb9
Merge pull request #511 from thomcc/no-sqlcipher-bundled-panic
Allow specifying both `sqlcipher` and `bundled`.
2019-04-23 18:42:09 +02:00
Thom Chiovoloni
fe80b51e89 Allow specifying both sqlcipher and bundled.
This is useful because currently, when using `rusqlite` in a Cargo
workspace with one crate that uses `sqlcipher` and another that uses
`bundled`, a build error will be triggered by an unqualified `cargo
build` (as cargo will use the union of all features enabled by crates in
the workspace).

Instead of panicing, this just emits a warning, before (mostly) ignoring
that the `bundled` feature was specified. Note: in this configuration,
we still use our bundled bindings, to avoid changing `rusqlite` to
handle this edge case (hence 'mostly').
2019-04-19 11:57:29 -07:00
gwenn
066a7e25e1
Merge pull request #507 from sbstp/patch-1
Typo in the README
2019-04-11 21:23:12 +02:00
sbstp
85efa19646
Typo in the README 2019-04-10 20:04:39 -04:00
gwenn
85454c04ec
Merge pull request #506 from sbstp/add-uuid
Add support for Uuid
2019-04-09 21:14:42 +02:00
Simon Bernier St-Pierre
c42175a424 add support for Uuid 2019-04-08 14:19:42 -04:00
gwenn
22614c64bd
Merge pull request #501 from thomcc/box-dyn-tosql
impl ToSql for Box<dyn ToSql>. Fixes #500
2019-03-28 18:10:59 +01:00
Thom Chiovoloni
d8074b1ece impl ToSql for Box<dyn ToSql>. Fixes #500 2019-03-27 19:36:11 -07:00
Konrad Borowski
f5072b8e0f Allow non-Unicode file names on Unix-like platforms 2019-03-26 10:20:22 +01:00
gwenn
b24f3c5519
Merge pull request #483 from technic/master
Clarify instruction for building with vcpkg
2019-03-25 20:00:36 +01:00
Alex Maystrenko
4d2f2c0833 Remove note about rebuilding, because env change tracked automatically 2019-03-24 21:24:28 +01:00
Alex Maystrenko
f702bc0797 rebuild when VCPKGRS_DYNAMIC changes 2019-03-24 21:21:13 +01:00
gwenn
3d088ac348
Merge pull request #497 from gwenn/clippy
Rustfmt + clippy
2019-03-22 19:30:42 +01:00
gwenn
80205da623 Rustfmt + clippy 2019-03-21 19:13:55 +01:00
gwenn
4ef5bcaf55
Merge pull request #495 from gwenn/decltype
Introduce Statement::columns
2019-03-19 21:42:08 +01:00
gwenn
e20d505d0a
Merge pull request #496 from gwenn/fallible
Upgrade to fallible-iterator 0.2
2019-03-19 21:30:11 +01:00
gwenn
98ca4ad6f4 Try to fix CI builds 2019-03-19 21:01:30 +01:00
gwenn
cfbce6f376 Upgrade to fallible-iterator 0.2 2019-03-19 20:56:13 +01:00
gwenn
ceb1ce4a55 Rustfmt 2019-03-19 20:45:04 +01:00
gwenn
4703358866 Fix module visibility 2019-03-19 20:43:40 +01:00
gwenn
38e92159fb Introduce Statement::columns
Return Columns name and type. (#494)
2019-03-19 20:33:36 +01:00
gwenn
1013571186 [ci skip] Prepare version 0.17.0 2019-03-10 14:21:29 +01:00
gwenn
a12d1769ed
Merge pull request #492 from gwenn/3.27.2
Upgrade bundled version to SQLite 3.27.2
2019-03-10 14:08:46 +01:00
gwenn
e760344351 Upgrade bundled version to SQLite 3.27.2
And upgrade to bindgen 0.48
2019-03-10 13:49:21 +01:00
gwenn
ac0baecfe2
Merge pull request #478 from gwenn/fallible-iterator
Make `Rows` implement `FallibleStreamingIterator`
2019-03-10 13:13:34 +01:00
gwenn
71a2004894 Add Rows::map method 2019-03-10 12:58:20 +01:00
gwenn
59a44cfae5 Merge remote-tracking branch 'jgallagher/master' into fallible-iterator 2019-03-10 11:12:14 +01:00
gwenn
ec0cc432fa
Merge pull request #491 from thomcc/url-support
Add optional support for rust-url
2019-03-10 08:58:59 +01:00
Thom Chiovoloni
5ba6909921 Add optional support for rust-url 2019-03-09 19:16:37 -08:00
gwenn
d94acdc3f4
Merge pull request #476 from gwenn/pragma
Ease PRAGMA usage (#273 and #265)
2019-02-27 18:03:35 +01:00
gwenn
ec80e460b6
Merge pull request #487 from thomcc/avoid-unnecessary-copies
Avoid unnecessary copies/allocations when passing strings to sqlite
2019-02-27 17:40:59 +01:00
Thom Chiovoloni
04f900059d Avoid unnecessary copies/allocations when passing strings to sqlite 2019-02-26 19:47:17 -08:00
gwenn
32881d7a76 Unify callback parameter signature 2019-02-21 21:14:55 +01:00
gwenn
7be87e950d Merge remote-tracking branch 'jgallagher/master' into pragma 2019-02-21 21:07:18 +01:00
gwenn
a0bd73221d
Merge pull request #485 from gwenn/fix-query-row
Do not panic by default
2019-02-21 21:05:02 +01:00
gwenn
6d9ae896b5 Do not panic by default
Replace `Row::get` by `Row::get_checked`,
And rename original `Row::get` to `Row::get_unwrap`.
`Stmt::query_map`, `Stmt::query_map_named`, `Stmt::query_row`,
`Conn::query_row` and `Conn::query_row_named` callback parameter must return a `Result`.
2019-02-21 20:48:09 +01:00
gwenn
fcaf5b9dd8 Fix typos 2019-02-21 18:55:51 +01:00
technic93
6e8276d1d0
Clarify instruction for building with vcpkg
Mention VCPKGRS_DYNAMIC environment variable.
2019-02-17 12:03:19 +01:00
gwenn
1775688ac2
Merge branch 'master' into pragma 2019-02-16 18:52:03 +01:00
gwenn
915c10c5bf
Merge pull request #482 from gwenn/changes
Revert change related to #460
2019-02-16 18:43:45 +01:00
gwenn
aa2179d306 Try to fix AppVeyor build 2019-02-16 17:51:21 +01:00
gwenn
c1f12c7380 Revert change related to #460 2019-02-16 17:24:56 +01:00
gwenn
37027a6087 Try to fix AppVeyor build 2019-02-16 11:06:21 +01:00
gwenn
b6470f371f Try to fix AppVeyor build 2019-02-16 10:07:55 +01:00
gwenn
1d1ee97ab9 Try to fix AppVeyor build 2019-02-14 20:53:26 +01:00