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
gwenn
364e885b89
Fix warning
2019-02-14 20:53:00 +01:00
gwenn
6ce5c9ddcc
Suggest users to use PRAGMA function instead
2019-02-14 20:24:16 +01:00
gwenn
333cc49523
Merge pull request #481 from gwenn/rm-unwrap
...
Remove unwrap from examples
2019-02-10 09:05:35 +01:00
gwenn
a8b9142d47
Fix Blob example
2019-02-09 08:54:53 +01:00
gwenn
d70286e98a
Remove unwrap from examples
2019-02-09 07:16:05 +01:00
gwenn
3799509ee0
Merge pull request #480 from gwenn/fix-warning
...
Fix nightly warning
2019-02-09 07:06:39 +01:00
gwenn
2c1483f2e7
Merge remote-tracking branch 'jgallagher/master' into fallible-iterator
2019-02-09 06:47:57 +01:00
gwenn
1b3a917ac8
Fix nightly warning
2019-02-09 06:42:33 +01:00
gwenn
8abaf6eefe
Fix rustdoc examples
2019-02-09 06:38:24 +01:00
gwenn
7c5bfb7cc3
Merge pull request #475 from gwenn/db-config
...
Support for sqlite3_db_config #468
2019-02-08 21:38:01 +01:00
gwenn
82a78cc8cf
Merge pull request #479 from wilada/fix-libsqlite3-sys-link-dependencies
...
Use pkg-config to generate sqlite link dependencies
2019-02-05 19:06:29 +01:00
Will Davis
9f009fe1e0
Use pkg-config to generate sqlite link dependencies
...
When built as a static library, sqlite (or sqlcipher) doesn't carry
additional link dependencies with it, and the libsqlite3-sys rlib
doesn't pick them up either. A dependent crate attempting to link
against rusqlite then has to specify these additional link commands,
and even then they need to be specified before the libsqlite3-sys
rlib is specified on the command line.
Fix this by attempting to use pkg-config when the
(SQLITE3|SQLCIPHER)_LIB_DIR is specified, since these builds produce
the pkg-config link dependency information, and the pkg_config crate
can automatically generate the correct link commands using that.
(Additionally, since (SQLITE3|SQLCIPHER)_STATIC is already defined,
or not, the --static flag will be correctly configured for pkg_config)
2019-02-04 22:53:57 -06:00
gwenn
d93dec52c0
Make Rows
implement FallibleStreamingIterator
2019-02-03 14:01:42 +01:00
gwenn
df493bb217
Merge pull request #477 from gwenn/lifetime-elision
...
Lifetime elision in impl
2019-02-03 11:26:31 +01:00
gwenn
e9896a7734
Lifetime elision in impl
2019-02-03 11:02:38 +01:00
gwenn
9c00dd01a2
Draft to ease PRAGMA usage ( #273 and #265 )
2019-02-03 09:17:37 +01:00
gwenn
519ef9dc84
Fix rustdoc warnings
2019-02-02 15:18:11 +01:00
gwenn
176e4c232b
Support for sqlite3_db_config #468
2019-02-02 15:17:20 +01:00
gwenn
e8e76852bd
Merge remote-tracking branch 'jgallagher/master' into tail
2019-02-02 13:22:40 +01:00
gwenn
2f965fec5a
Merge pull request #474 from gwenn/move-inner
...
Move InnerConnection in its own module
2019-02-02 13:10:19 +01:00
gwenn
c2614b54df
Move InnerConnection in its own module
2019-02-02 12:46:52 +01:00
gwenn
08e51e69cf
Merge pull request #473 from gwenn/misc
...
Misc
2019-02-02 12:44:50 +01:00
gwenn
8862b17340
Fix clippy warnings
2019-02-02 11:37:26 +01:00
gwenn
f695f185c2
Fix/suppress warning 'deprecated'
2019-02-02 11:10:58 +01:00
gwenn
20fed1956e
Rename some static variables
2019-02-02 11:10:08 +01:00
gwenn
be98290bbd
Replace assert! by assert_eq!
2019-02-02 11:09:00 +01:00
gwenn
4c4578851b
Remove needless lifetimes
2019-02-02 11:08:04 +01:00
gwenn
62d5ffe678
Fix some enum representation
2019-02-02 11:04:46 +01:00
gwenn
f9099ba02b
Add workspace declaration
2019-02-02 11:00:12 +01:00
gwenn
28d57b81f3
Merge pull request #472 from gwenn/clean-examples
...
Clean examples
2019-01-30 20:37:34 +01:00
gwenn
0a46a34e3d
Clean examples
...
Remove `extern crate` usages.
Rustfmt.
2019-01-30 20:14:46 +01:00
gwenn
dbc48fcde9
Merge pull request #470 from rainhead/master
...
Derive Debug for Transaction
2019-01-30 19:08:53 +01:00
gwenn
6e0b1e2751
Merge pull request #471 from thomcc/params-macro
...
Add params/named_params macro, and expose ToSql from top level
2019-01-30 18:35:41 +01:00
gwenn
ee04d3c5ee
Merge pull request #469 from thomcc/pub-ffi
...
Make the `libsqlite3_sys as ffi` export `pub`
2019-01-30 18:33:31 +01:00
Thom Chiovoloni
d7c8d43fb4
Add params/named_params macro, and expose ToSql from top level
2019-01-29 15:33:57 -08:00
Thom Chiovoloni
ef757240c1
Use rusqlite::ffi instead of extern crate libsqlite3_sys
2019-01-29 14:59:41 -08:00
Peter Abrahamsen
a160f360d0
Test that Transaction can be removed from an Rc
2019-01-29 11:01:09 -08:00
Peter Abrahamsen
65c6bff73b
Derive Debug for Transaction
2019-01-26 21:29:42 -08:00
Thom Chiovoloni
9478c490fb
Make the libsqlite3_sys as ffi
export pub
2019-01-26 14:30:27 -08:00
gwenn
18b8c390ab
Merge pull request #467 from gwenn/changes
...
Expose sqlite3_changes()
2019-01-26 11:40:24 +01:00
gwenn
073aff493d
Merge pull request #466 from gwenn/bindgen
...
Upgrade to bindgen 0.47
2019-01-26 11:10:20 +01:00
gwenn
4be7900bab
Rustfmt
2019-01-26 11:02:34 +01:00
gwenn
e4c1f541ae
Expose sqlite3_changes() #460
2019-01-26 11:01:51 +01:00
gwenn
94d5fe55c8
Cargo fix
2019-01-26 10:55:14 +01:00